:root {
  --ink: #3f260f;
  --brown: #6a3b19;
  --orange: #ff8f22;
  --sky: #44b8e9;
  --grass: #7dd35f;
  --cream: #fff5b8;
  --figma-card-bg: #fff5ee;
  --figma-human-card-bg: #fff9e0;
  --figma-brown: #b47c57;
  --figma-dark-text: #62422e;
  --figma-white: #fcfefe;
  --figma-button: #fcbd80;
  font-family: "Trebuchet MS", Verdana, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #25323d;
  color: var(--ink);
}

button {
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.stage {
  width: min(100vw, 402px);
  height: min(100vh, 874px);
  aspect-ratio: 402 / 874;
  position: relative;
  overflow: hidden;
  background: var(--sky);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 260ms ease, transform 260ms ease;
}

.screen.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.figma-reference {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.translate-hotspot,
.start-hotspot {
  position: absolute;
  background: transparent;
}

.translate-hotspot {
  top: 46px;
  right: 27px;
  width: 36px;
  height: 36px;
}

.start-hotspot {
  top: 374px;
  left: 116px;
  width: 170px;
  height: 84px;
  border-radius: 18px;
}

.start-hotspot:active {
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.18);
}

.localized-title {
  position: absolute;
  top: 94px;
  left: 36px;
  right: 36px;
  display: none;
  padding: 10px 12px;
  text-align: center;
  color: #fff4a8;
  font-size: 34px;
  font-weight: 900;
  text-shadow: 3px 3px 0 #592c91, 5px 5px 0 #1c2f74;
}

.localized-title.is-visible {
  display: block;
}

.profile-screen {
  padding: 31px 21px 130px;
  background:
    linear-gradient(180deg, rgba(129, 102, 209, 0.56), rgba(244, 93, 152, 0.34) 34%, rgba(255, 161, 82, 0.38) 74%),
    url("./figma-node-3-6.png") center / cover;
}

.profile-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
}

.step-dots,
.profile-card {
  position: relative;
  z-index: 1;
}

.step-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  height: 8px;
  margin-bottom: 90px;
}

.step-dots span {
  width: 48px;
  height: 8px;
  background: rgba(255, 255, 255, 0.42);
}

.step-dots .is-active {
  background: #ffffff;
}

.profile-card {
  position: relative;
  min-height: 614px;
  padding: 110px 33px 28px;
  border: 3px solid #b46c27;
  border-radius: 6px;
  background: #ffffff;
  color: #42506c;
}

.bag-art {
  position: absolute;
  top: -89px;
  left: 50%;
  z-index: 1;
  display: block;
  width: 126px;
  height: 168px;
  overflow: hidden;
  object-fit: contain;
  opacity: 1;
  transform: translateX(-50%);
  image-rendering: pixelated;
  filter: drop-shadow(4px 6px 0 rgba(109, 72, 33, 0.1));
  pointer-events: none;
}

.bag-art + .who-title,
.bag-art + .who-title + p,
.bag-art + .who-title + p + label,
.bag-art + .who-title + p + label + label,
.bag-art + .who-title + p + label + label + label,
.bag-art + .who-title + p + label + label + label + .next-button {
  position: relative;
  z-index: 1;
}

.profile-card h1 {
  margin: 0 0 24px;
  color: transparent;
  background: linear-gradient(180deg, #fec409, #feec6e);
  background-clip: text;
  -webkit-background-clip: text;
  font-family: "Jersey 25", "Jersey 20", "Trebuchet MS", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 1.8955px;
  text-align: center;
  text-shadow: 2px 0 0 #b47c57, -2px 0 0 #b47c57, 0 2px 0 #b47c57, 0 -2px 0 #b47c57;
}

.profile-card .who-title {
  display: grid;
  place-items: center;
  height: 36px;
  margin-bottom: 24px;
  background: none;
  color: inherit;
  text-shadow: none;
}

.who-title img {
  display: block;
  width: 165px;
  height: 23px;
  image-rendering: pixelated;
  filter:
    drop-shadow(2px 0 0 #b47c57)
    drop-shadow(-2px 0 0 #b47c57)
    drop-shadow(0 2px 0 #b47c57)
    drop-shadow(0 -2px 0 #b47c57);
}

.who-title span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.profile-card .outlined-pixel-title {
  display: block;
  position: relative;
  z-index: 0;
  color: transparent;
  background: linear-gradient(180deg, #fec409, #feec6e);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Jersey 25", "Jersey 20", "Trebuchet MS", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 1.8955px;
  text-shadow:
    2px 0 0 #b47c57,
    -2px 0 0 #b47c57,
    0 2px 0 #b47c57,
    0 -2px 0 #b47c57;
}

.profile-card .body-title-image {
  display: grid;
  place-items: center;
  height: 42px;
  margin: 0 0 18px;
  background: none;
  color: inherit;
  text-shadow: none;
}

.body-title-image img {
  display: block;
  width: 170px;
  height: 42px;
  object-fit: contain;
  image-rendering: pixelated;
}

.body-title-image span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.profile-card > p {
  margin: 0 0 12px;
  text-align: center;
  font-family: Inter, "Trebuchet MS", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.3125px;
}

.profile-card label {
  display: block;
  margin-top: 17px;
}

.profile-card label span {
  display: block;
  margin-bottom: 8px;
  color: #364153;
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.profile-card input {
  width: 100%;
  height: 59px;
  border: 1.689px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 0 15px;
  background: #f3f4f6;
  color: #42506c;
  font-family: Inter, "Trebuchet MS", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.3125px;
  outline: none;
}

.profile-card input:focus {
  border-color: #72bf55;
  box-shadow: 0 0 0 3px rgba(114, 191, 85, 0.22);
}

.profile-card input::placeholder {
  color: #99a1af;
}

.next-button {
  width: 100%;
  height: 59px;
  margin-top: 24px;
  border-radius: 4px;
  color: #ffffff;
  background: #71bf55;
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.4395px;
}

.next-button span {
  display: inline-block;
  margin-left: 16px;
  color: inherit;
  font-size: 38px;
  line-height: 0;
  transform: translateY(5px);
}

.body-screen {
  padding: 31px 23px 130px;
  background:
    linear-gradient(180deg, rgba(16, 65, 130, 0.18), rgba(8, 16, 51, 0.2)),
    url("./figma-node-3-43.png") center / cover;
}

.body-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.02);
}

.body-card {
  margin-top: 92px;
  min-height: 610px;
  padding-top: 113px;
  border-color: #b47c57;
  background: #fff5ee;
}

.measure-art {
  position: absolute;
  top: -59px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 132px;
  height: 103px;
  overflow: hidden;
  color: initial;
  -webkit-text-fill-color: initial;
  background: none;
  font-family: Inter, system-ui, sans-serif;
  font-size: 103px;
  font-weight: 400;
  line-height: 103px;
  letter-spacing: 0.4541px;
  text-align: center;
  filter: drop-shadow(4px 6px 0 rgba(39, 68, 99, 0.18));
}

.body-card label {
  margin-top: 16px;
}

.unit-field {
  position: relative;
}

.unit-field input {
  padding-right: 70px;
}

.unit-field em {
  position: absolute;
  top: 50%;
  right: 17px;
  transform: translateY(-50%);
  color: #6a7282;
  font-style: normal;
  font-size: 16px;
  pointer-events: none;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.form-actions button {
  height: 60px;
  border-radius: 4px;
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.4395px;
}

.form-back-button {
  color: #364153;
  background: #e5e7eb;
}

.form-back-button span {
  display: inline-block;
  margin-right: 8px;
  font-size: 34px;
  line-height: 0;
  transform: translateY(4px);
}

.create-button {
  margin-top: 0;
}

.create-button span {
  margin-left: 12px;
}

.selfie-screen {
  padding: 31px 23px 130px;
  background:
    linear-gradient(180deg, rgba(16, 65, 130, 0.12), rgba(8, 16, 51, 0.16)),
    url("./figma-node-3-43.png") center / cover;
}

.selfie-card {
  margin-top: 100px;
  min-height: 610px;
  padding-top: 95px;
  border-color: #b47c57;
  background: #fff5ee;
}

.selfie-camera-art {
  position: absolute;
  top: -86px;
  left: 50%;
  transform: translateX(-50%);
  width: 122px;
  height: 122px;
  display: grid;
  place-items: center;
  font-family: Inter, system-ui, sans-serif;
  font-size: 92px;
  line-height: 1;
  filter: drop-shadow(4px 6px 0 rgba(39, 68, 99, 0.18));
}

.selfie-card .selfie-title {
  position: relative;
  display: block;
  width: max-content;
  margin: 0 auto;
  color: transparent;
  background: none;
  -webkit-text-fill-color: transparent;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 1.9px;
  text-align: center;
  text-shadow: none;
}

.selfie-card .selfie-title::before,
.selfie-card .selfie-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  display: block;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  white-space: nowrap;
}

.selfie-card .selfie-title::before {
  z-index: 0;
  color: #b47c57;
  -webkit-text-fill-color: #b47c57;
  -webkit-text-stroke: 4px #b47c57;
}

.selfie-card .selfie-title::after {
  z-index: 1;
  color: transparent;
  background: linear-gradient(180deg, #fec409 0%, #fec81f 9%, #fecb2c 18%, #fecf36 27%, #fed33f 36%, #ffd647 45%, #ffda4e 55%, #ffde55 64%, #fee15c 73%, #fee562 82%, #fee868 91%, #feec6e 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.selfie-card > p {
  margin: 16px 0 0;
  color: #364153;
  font-family: "IBM Plex Sans", "Trebuchet MS", sans-serif;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.selfie-preview-frame {
  position: relative;
  width: 290px;
  height: 220px;
  margin: 16px auto 0;
  overflow: hidden;
  border: 4px solid #b47c57;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 6px 6px 0 rgba(98, 66, 46, 0.18);
}

.selfie-preview-frame video,
.selfie-preview-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.selfie-preview-frame video {
  transform: scaleX(-1);
}

.selfie-empty-state,
.selfie-preview-frame span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #b47c57;
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
}

.selfie-capture-button {
  width: 290px;
  height: 58px;
  margin: 16px auto 0;
  display: block;
  border-radius: 4px;
  color: #ffffff;
  background: #70bf56;
  box-shadow: 0 4px 0 #4c8f35;
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.selfie-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: #b47c57;
  font-family: "IBM Plex Sans", "Trebuchet MS", sans-serif;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
}

.selfie-actions {
  width: 290px;
  margin: 18px auto 0;
}

.hatch-screen {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.92) 0 2px, transparent 4px),
    radial-gradient(circle at 70% 21%, rgba(179, 234, 255, 0.9) 0 2px, transparent 4px),
    radial-gradient(circle at 36% 66%, rgba(255, 255, 255, 0.78) 0 2px, transparent 4px),
    radial-gradient(circle at 84% 58%, rgba(147, 220, 255, 0.8) 0 2px, transparent 5px),
    linear-gradient(180deg, #7bc9f3 0%, #3d94df 46%, #215cae 100%);
}

.hatch-screen::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  background:
    linear-gradient(135deg, transparent 0 35%, rgba(96, 166, 129, 0.42) 36% 62%, transparent 63%),
    linear-gradient(225deg, transparent 0 42%, rgba(55, 121, 119, 0.45) 43% 68%, transparent 69%);
  opacity: 0.45;
}

.hatch-tap-area {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: inherit;
  background: transparent;
  text-align: center;
}

.hatch-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(201, 244, 255, 0.82) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px);
  background-position: 52px 84px, 262px 152px, 132px 238px;
  background-size: 122px 188px, 176px 251px, 96px 146px;
  opacity: 0.72;
}

.hatch-heading {
  position: relative;
  z-index: 1;
  margin-top: 142px;
}

.hatch-heading h1 {
  margin: 0;
  color: #fec409;
  font-family: "Jersey 25", "Jersey 20", "Trebuchet MS", sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 48px;
  text-align: center;
  text-shadow:
    3px 0 0 #b47c57,
    -3px 0 0 #b47c57,
    0 3px 0 #b47c57,
    0 -3px 0 #b47c57,
    3px 3px 0 #b47c57;
}

.hatch-heading .hatch-title-image {
  display: grid;
  place-items: center;
  height: 48px;
  color: inherit;
  background: none;
  text-shadow: none;
}

.hatch-title-image img {
  display: block;
  width: 211px;
  height: 36px;
  object-fit: contain;
  image-rendering: pixelated;
}

.hatch-title-image span,
.tap-me-image span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hatch-heading p,
.hatch-tip {
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 16px;
}

.egg-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  margin-top: 48px;
}

.egg-wrap strong {
  margin-top: 14px;
  color: #fec409;
  font-family: "Jersey 25", "Jersey 20", "Trebuchet MS", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.5px;
  text-shadow:
    2px 0 0 #b47c57,
    -2px 0 0 #b47c57,
    0 2px 0 #b47c57,
    0 -2px 0 #b47c57,
    2px 2px 0 #b47c57;
}

.egg-wrap .tap-me-image {
  display: grid;
  place-items: center;
  height: 16px;
  color: inherit;
  text-shadow: none;
}

.tap-me-image img {
  display: block;
  width: 49px;
  height: 9px;
  object-fit: contain;
  image-rendering: pixelated;
}

.pet-egg {
  position: relative;
  width: 214px;
  height: 250px;
  border: 8px solid #b47c57;
  border-radius: 50% 50% 46% 46%;
  background:
    radial-gradient(circle at 37% 34%, #ffffff 0 13px, transparent 14px),
    radial-gradient(circle at 63% 43%, #ffffff 0 12px, transparent 13px),
    linear-gradient(135deg, #fff6d7 0 22%, #ffd86b 23% 49%, #fff2b8 50% 72%, #ffb84f 73%);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.22), inset 12px -14px 0 rgba(180, 124, 87, 0.18);
  transition: transform 180ms ease, filter 180ms ease;
}

.pet-egg::before {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 44%, #ff8a7a 0 10px, transparent 11px),
    radial-gradient(circle at 70% 32%, #8ed8ff 0 9px, transparent 10px),
    radial-gradient(circle at 48% 70%, #9adc62 0 11px, transparent 12px);
}

.crack {
  position: absolute;
  display: none;
  width: 58px;
  height: 7px;
  background: #70412a;
  transform-origin: left center;
}

.crack-one {
  left: 80px;
  top: 89px;
  transform: rotate(36deg);
}

.crack-two {
  left: 114px;
  top: 122px;
  transform: rotate(-38deg);
}

.crack-three {
  left: 65px;
  top: 156px;
  transform: rotate(-18deg);
}

.pet-egg.cracked {
  transform: rotate(-3deg) scale(1.03);
}

.pet-egg.cracked .crack-one,
.pet-egg.cracked .crack-two {
  display: block;
}

.pet-egg.opening {
  filter: drop-shadow(0 0 24px rgba(255, 236, 110, 0.95));
  transform: rotate(3deg) scale(1.08);
}

.pet-egg.opening .crack {
  display: block;
}

.hatch-progress {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 32px;
  margin: 28px auto 0;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.hatch-progress div {
  width: 0;
  height: 100%;
  background: #72bc56;
  transition: width 180ms ease;
}

.hatch-progress span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
}

.hatch-tip {
  position: relative;
  z-index: 1;
  width: 300px;
  margin: 22px auto 0;
}

.partner-screen {
  padding: 31px 24px 132px;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.18), rgba(14, 14, 14, 0.28)),
    url("./partner-bg.png") center / cover;
}

.partner-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.step-dots-complete span {
  border-radius: 999px;
}

.partner-card {
  position: relative;
  z-index: 1;
  min-height: 610px;
  margin-top: 93px;
  padding: 28px 31px 32px;
  border: 2px solid #b47c57;
  border-radius: 5px;
  background: #fff5ee;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.15);
}

.partner-heading {
  text-align: center;
}

.partner-heading h1 {
  margin: 0 0 30px;
  color: #ffcf51;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 0;
  text-shadow: 2px 0 0 #b47c57, -2px 0 0 #b47c57, 0 2px 0 #b47c57, 0 -2px 0 #b47c57;
}

.partner-heading p {
  margin: 0;
  color: #4a5565;
  font-size: 16px;
}

.partner-pet-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 188px;
  height: 188px;
  margin: 26px auto 22px;
}

.partner-pet-frame > div {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.partner-pet-frame img {
  max-width: 188px;
  max-height: 188px;
  object-fit: contain;
  image-rendering: pixelated;
}

.pet-slot-reel {
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}

.pet-slot-item {
  display: grid;
  place-items: center;
  width: 188px;
  height: 188px;
  flex: 0 0 188px;
}

.pet-slot-item img {
  display: block;
}

.pet-slot-reel.is-spinning {
  transition: transform 900ms cubic-bezier(0.16, 0.84, 0.16, 1);
}

.partner-pet-frame.is-spinning::before,
.partner-pet-frame.is-spinning::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 28px;
  pointer-events: none;
}

.partner-pet-frame.is-spinning::before {
  top: 0;
  background: linear-gradient(#fff5ee, rgba(255, 245, 238, 0));
}

.partner-pet-frame.is-spinning::after {
  bottom: 0;
  background: linear-gradient(rgba(255, 245, 238, 0), #fff5ee);
}

.reroll-button {
  position: absolute;
  top: 4px;
  right: 0;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 3px solid #b47c57;
  border-radius: 999px;
  color: #ffffff;
  background: #72bc56;
  font-size: 23px;
  font-weight: 900;
  line-height: 30px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.reroll-button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.pixel-pet {
  position: relative;
  width: 148px;
  height: 148px;
  image-rendering: pixelated;
  filter: drop-shadow(5px 5px 0 rgba(32, 64, 92, 0.24));
}

.pixel-pet::before {
  content: "";
  position: absolute;
  inset: 22px 20px 18px;
  background: var(--pet-color);
  border: 6px solid var(--pet-shade);
  border-radius: var(--pet-radius, 30px);
  box-shadow: inset 10px 0 rgba(255, 255, 255, 0.14), inset -10px 0 rgba(0, 0, 0, 0.08);
}

.pixel-pet::after {
  content: "";
  position: absolute;
  left: 52px;
  top: 70px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  box-shadow:
    5px 3px 0 #111827,
    44px 0 0 #ffffff,
    49px 3px 0 #111827,
    23px 19px 0 -3px var(--nose, #ff8f22),
    26px 38px 0 -4px #1b2d71;
}

.pixel-pet .limb,
.pixel-pet .ear {
  position: absolute;
  background: var(--pet-color);
  border: 5px solid var(--pet-shade);
}

.limb.left-arm {
  left: 6px;
  top: 92px;
  width: 34px;
  height: 24px;
  border-radius: 10px;
}

.limb.right-arm {
  right: 6px;
  top: 92px;
  width: 34px;
  height: 24px;
  border-radius: 10px;
}

.limb.left-leg {
  left: 48px;
  bottom: 6px;
  width: 23px;
  height: 34px;
  border-radius: 8px;
}

.limb.right-leg {
  right: 48px;
  bottom: 6px;
  width: 23px;
  height: 34px;
  border-radius: 8px;
}

.pet-cat .ear.left,
.pet-fox .ear.left {
  left: 31px;
  top: 6px;
  width: 26px;
  height: 34px;
  transform: skewX(-14deg);
}

.pet-cat .ear.right,
.pet-fox .ear.right {
  right: 31px;
  top: 6px;
  width: 26px;
  height: 34px;
  transform: skewX(14deg);
}

.pet-bunny .ear {
  top: 0;
  width: 24px;
  height: 58px;
  border-radius: 16px 16px 4px 4px;
}

.pet-bunny .ear.left {
  left: 42px;
}

.pet-bunny .ear.right {
  right: 42px;
}

.pet-frog::before {
  border-radius: 20px;
}

.pet-frog .ear {
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.pet-frog .ear.left {
  left: 21px;
}

.pet-frog .ear.right {
  right: 21px;
}

.pet-frog::after {
  top: 47px;
}

.partner-stats {
  width: 222px;
  margin: 0 auto 24px;
  padding: 16px 16px 18px;
  border-radius: 4px;
  background: #ffffff;
  text-align: center;
}

.partner-stats strong {
  display: inline-flex;
  min-width: 136px;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
  border-radius: 4px;
  background: #fff5ee;
  color: #b47c57;
  font-size: 17px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stats-grid div {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: #364153;
  font-size: 26px;
}

.stats-grid em {
  color: #b47c57;
  font-style: normal;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.partner-actions {
  margin-top: 0;
}

.dashboard-screen {
  overflow: hidden;
  --dashboard-bg: url("./sea-background.png");
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 91, 122, 0.05)),
    var(--dashboard-bg) center top / cover;
}

.dashboard-user-card {
  position: absolute;
  top: 40px;
  left: 16px;
  z-index: 2;
  width: 117px;
  height: 72px;
  padding: 4px 8px 4px 6px;
  border: 2px solid var(--figma-brown);
  border-radius: 4px;
  background: var(--figma-card-bg);
  color: var(--figma-dark-text);
  font-family: "Jersey 20", "Trebuchet MS", sans-serif;
}

.dashboard-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.dashboard-user-row strong {
  overflow: hidden;
  max-width: 82px;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.1504px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dashboard-settings {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: var(--figma-dark-text);
  background: transparent;
  font-size: 14px;
  line-height: 1;
}

.dashboard-level-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 12px;
  font-family: "IBM Plex Sans", "Trebuchet MS", sans-serif;
  font-weight: 500;
  letter-spacing: -0.1504px;
}

.dashboard-exp-track {
  flex: 1;
  height: 8px;
  border: 1px solid rgba(82, 82, 82, 0.1);
  background: #e5e7eb;
  overflow: hidden;
}

.dashboard-exp-track div {
  width: 40%;
  height: 100%;
  background: linear-gradient(180deg, #fec409, #feec6e);
}

.dashboard-exp-row {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-size: 9px;
  font-family: "IBM Plex Sans", "Trebuchet MS", sans-serif;
  font-weight: 500;
  letter-spacing: -0.1504px;
}

.dashboard-exp-row em {
  color: var(--figma-brown);
  font-style: normal;
}

.dashboard-side-nav {
  position: absolute;
  top: 44px;
  left: 321px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 73px;
  transition: top 280ms ease;
}

.dashboard-side-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 73px;
  min-height: 70px;
  padding-bottom: 10px;
  border-radius: 6px;
  background: transparent;
  color: var(--figma-brown);
  font-family: "IBM Plex Sans", "Trebuchet MS", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
  text-align: center;
  transform-origin: top center;
  transition: opacity 180ms ease, transform 220ms ease, max-height 220ms ease, min-height 220ms ease, padding 220ms ease, margin 220ms ease;
}

.dashboard-side-button span {
  display: block;
  color: var(--figma-brown);
  -webkit-text-fill-color: var(--figma-brown);
  -webkit-text-stroke: 3px var(--figma-white);
  paint-order: stroke fill;
  text-shadow:
    1px 0 0 var(--figma-white),
    -1px 0 0 var(--figma-white),
    0 1px 0 var(--figma-white),
    0 -1px 0 var(--figma-white);
  white-space: nowrap;
}

.dashboard-side-button:active {
  background: rgba(255, 255, 255, 0.22);
}

.dashboard-side-button img {
  width: 51px;
  height: 56px;
  margin-bottom: -10px;
  object-fit: contain;
  image-rendering: pixelated;
}

.dashboard-side-button[aria-label="School"] img {
  width: 60px;
  height: 49px;
}

.dashboard-side-button[aria-label="Social"] img {
  width: 56px;
  height: 62px;
  margin-bottom: -10px;
}

.dashboard-side-caret {
  position: relative;
  width: 42px;
  height: 22px;
  margin-top: -1px;
  background: transparent;
}

.dashboard-side-caret::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 5px;
  width: 0;
  height: 0;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  border-bottom: 11px solid var(--figma-brown);
  filter:
    drop-shadow(0 -2px 0 var(--figma-white))
    drop-shadow(2px 0 0 var(--figma-white))
    drop-shadow(-2px 0 0 var(--figma-white));
  transition: transform 220ms ease;
}

.dashboard-side-caret:active {
  transform: translateY(1px);
}

.dashboard-side-nav.is-collapsed {
  top: 26px;
}

.dashboard-side-nav.is-collapsed .dashboard-side-button {
  max-height: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-12px) scale(0.88);
}

.dashboard-side-nav.is-collapsed .dashboard-side-caret::before {
  transform: rotate(180deg);
}

.school-leaderboard-screen {
  overflow: hidden;
  padding: 22px 16px 44px;
  color: var(--figma-dark-text);
  background: #fff5ee;
}

.school-rank-header {
  position: relative;
  display: grid;
  grid-template-columns: 45px 1fr 45px;
  align-items: start;
  min-height: 84px;
  column-gap: 48px;
}

.school-rank-back {
  width: 45px;
  height: 45px;
  border-radius: 999px;
  background: transparent;
}

.school-rank-back img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  image-rendering: pixelated;
}

.school-rank-title {
  padding-top: 0;
  text-align: center;
  white-space: nowrap;
}

.school-rank-title h1 {
  margin: 0;
  color: var(--figma-dark-text);
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 1.8955px;
}

.school-rank-title p {
  margin: 0;
  color: #0a0a0a;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.school-rank-action {
  position: relative;
  width: 45px;
  height: 45px;
  background: transparent;
}

.rank-action-head,
.rank-action-body,
.rank-action-body::before,
.rank-action-body::after {
  position: absolute;
  background: var(--figma-dark-text);
  image-rendering: pixelated;
}

.rank-action-body::before,
.rank-action-body::after {
  content: "";
}

.rank-action-head {
  top: 9px;
  width: 13px;
  height: 13px;
  border-radius: 2px;
}

.rank-action-head.is-left {
  left: 9px;
}

.rank-action-head.is-right {
  right: 9px;
}

.rank-action-body {
  left: 6px;
  top: 24px;
  width: 33px;
  height: 14px;
  clip-path: polygon(9% 24%, 36% 0, 64% 0, 91% 24%, 100% 100%, 0 100%);
}

.rank-action-body::before {
  left: 9px;
  top: -21px;
  width: 15px;
  height: 7px;
  box-shadow: 0 4px 0 var(--figma-dark-text);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 72% 58%, 72% 100%, 28% 100%, 28% 58%, 0 58%);
}

.rank-action-body::after {
  left: 13px;
  top: -7px;
  width: 7px;
  height: 9px;
  background: #fff5ee;
  opacity: 0.9;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 70% 60%, 70% 100%, 30% 100%, 30% 60%, 0 60%);
}

.school-rank-action:active,
.school-rank-action.is-clicked {
  transform: translateY(1px) scale(0.96);
}

.school-rank-summary {
  position: relative;
  width: 370px;
  height: 165px;
  padding: 20px;
  border: 2px solid #854c30;
  border-radius: 7px;
  background: #fff;
  box-shadow: 5px 4px 0 #d27d2c;
}

.rank-profile {
  display: flex;
  align-items: center;
  position: relative;
  height: 64px;
}

.rank-pet-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid #000;
  border-radius: 16px;
  background: #beebfc;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rank-pet-avatar img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  image-rendering: pixelated;
}

.rank-pet-avatar span {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ffd54f;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
  font-size: 12px;
  line-height: 16px;
}

.rank-profile-copy {
  margin-left: 20px;
  padding-top: 18px;
}

.rank-profile-copy h2 {
  margin: 0;
  color: #1e2939;
  font-family: "Pixelify Sans", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.3125px;
  white-space: nowrap;
}

.rank-profile-copy h2 em,
.rank-person strong em {
  color: #969696;
  font-style: normal;
}

.rank-profile-copy p {
  margin: 0;
  color: #6a7282;
  font-family: "Pixelify Sans", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.rank-medal,
.rank-number-badge {
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-family: "Pixelify Sans", system-ui, sans-serif;
  font-weight: 700;
}

.rank-medal {
  position: relative;
  width: 31px;
  height: 31px;
  border: 3px solid #854c30;
  color: #854c30;
  background: #d8d8d8;
  font-size: 20px;
  line-height: 19px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.16);
}

.rank-medal::before,
.rank-medal::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -16px;
  width: 9px;
  height: 18px;
  background: #75c8dc;
  border: 2px solid #854c30;
}

.rank-medal::before {
  left: 4px;
  transform: rotate(12deg);
}

.rank-medal::after {
  right: 4px;
  transform: rotate(-12deg);
}

.rank-medal-one {
  border-color: #854c30;
  background: #ffca28;
}

.rank-medal-two {
  border-color: #854c30;
  background: #d8d8d8;
}

.rank-medal-three {
  border-color: #854c30;
  background: #b8734d;
}

.rank-profile .rank-medal {
  position: absolute;
  right: 13px;
  top: 5px;
  width: 35px;
  height: 35px;
}

.rank-summary-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 330px;
  height: 48px;
  margin-top: 16px;
  padding: 0 18px;
  border: 1.69px solid #854c30;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(255, 213, 79, 0.2), rgba(255, 202, 40, 0.2));
}

.rank-summary-stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rank-summary-stats i {
  font-style: normal;
  font-size: 20px;
  line-height: 28px;
}

.rank-summary-stats strong {
  color: #854c30;
  font-family: "Pixelify Sans", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.4395px;
}

.ranking-ribbon {
  position: relative;
  width: 260px;
  height: 108px;
  margin: -3px auto -31px;
  pointer-events: none;
}

.ranking-ribbon img {
  width: 260px;
  height: 108px;
  object-fit: cover;
  object-position: center;
  image-rendering: pixelated;
}

.ranking-ribbon strong {
  position: absolute;
  left: 75px;
  top: 27px;
  color: var(--figma-dark-text);
  font-family: "Jersey 25", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 1.8955px;
}

.ranking-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 177px 177px;
  gap: 14px;
  margin-bottom: 14px;
}

.ranking-tabs button {
  height: 45px;
  border: 2px solid #854c30;
  border-radius: 7px;
  color: var(--figma-dark-text);
  background: #fff;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
  box-shadow: 5px 5px 0 #d27d2c;
}

.ranking-tabs button:not(.is-active) {
  background: #fff6d9;
}

.school-rank-list {
  display: grid;
  gap: 8px;
  width: 369px;
  height: 426px;
  padding: 12px 14px;
  border: 2px solid #854c30;
  border-radius: 7px;
  background: #fff;
  box-shadow: 5px 5px 0 #d27d2c;
}

.rank-row {
  display: grid;
  grid-template-columns: 55px 1fr 62px 32px;
  align-items: center;
  gap: 17px;
  height: 72px;
  padding: 8px 12px 8px 8px;
  border: 2px solid #d8bdaa;
  border-radius: 4px;
  background: #fefaf6;
  box-shadow: none;
}

.rank-row.is-current {
  border-color: #d8bdaa;
  background: #fefaf6;
}

.rank-pet-avatar.is-small {
  width: 55px;
  height: 55px;
  border-width: 0.86px;
  border-radius: 14px;
  box-shadow: 3.43px 3.43px 0 rgba(0, 0, 0, 0.15), 0 1.72px 3.43px rgba(0, 0, 0, 0.1);
}

.rank-pet-avatar.is-small img {
  width: 43px;
  height: 43px;
}

.rank-pet-avatar.is-small span {
  right: -3px;
  bottom: -3px;
  width: 21px;
  height: 21px;
  font-size: 10px;
  line-height: 14px;
}

.rank-person strong {
  display: block;
  overflow: hidden;
  color: #1e2939;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-person > em {
  display: block;
  overflow: hidden;
  color: #6a7282;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-row p {
  margin: 0;
  text-align: right;
}

.rank-row p strong {
  display: block;
  color: #1e2939;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.rank-row p span {
  display: block;
  color: #6a7282;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.rank-row .rank-medal {
  width: 31px;
  height: 31px;
  font-size: 20px;
}

.rank-number-badge {
  width: 31px;
  height: 31px;
  color: #fff;
  background: #d8d8d8;
  font-size: 20px;
  line-height: 19px;
  letter-spacing: -0.2967px;
}

.friends-list-screen {
  overflow: hidden;
  padding: 22px 16px 48px;
  color: var(--figma-dark-text);
  background: #fff5ee;
}

.friends-list-header {
  position: relative;
  display: grid;
  grid-template-columns: 45px 1fr 45px;
  align-items: start;
  min-height: 82px;
  column-gap: 34px;
}

.friends-list-back,
.friends-list-search {
  width: 45px;
  height: 45px;
  background: transparent;
}

.friends-list-back img,
.friends-list-search img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  image-rendering: pixelated;
}

.friends-list-title {
  text-align: center;
  white-space: nowrap;
}

.friends-list-title h1 {
  margin: 0;
  color: var(--figma-dark-text);
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 1.8955px;
}

.friends-list-title p {
  margin: 0;
  color: #0a0a0a;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.friends-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 66px;
  margin: 0 3px 17px;
}

.friends-profile h2 {
  margin: 0;
  color: #1e2939;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.friends-profile p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #6a7282;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.friends-profile p button {
  color: #6a7282;
  background: transparent;
  font-size: 14px;
  line-height: 1;
}

.profile-feed-button {
  cursor: pointer;
  transition: transform 120ms ease, filter 120ms ease;
}

.profile-feed-button:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.friend-feed-add-button {
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--figma-dark-text);
}

.friend-feed-add-button::before,
.friend-feed-add-button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 6px;
  background: #fff5ee;
  transform: translate(-50%, -50%);
}

.friend-feed-add-button::after {
  width: 6px;
  height: 24px;
}

.friends-list-card {
  position: relative;
  width: 369px;
  height: 639px;
  padding: 12px 101px 66px 14px;
  border: 2px solid #854c30;
  border-radius: 7px;
  background: #fff;
  box-shadow: 5px 5px 0 #d27d2c;
}

.friend-row {
  position: relative;
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  gap: 17px;
  width: 252px;
  height: 72px;
  margin-bottom: 9px;
  padding: 8px;
  border: 2px solid #d8bdaa;
  border-radius: 4px;
  background: #fefaf6;
}

.friend-copy {
  min-width: 0;
}

.friend-copy strong {
  display: block;
  overflow: hidden;
  color: #1e2939;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.friend-copy strong em {
  color: #969696;
  font-style: normal;
}

.friend-copy > em {
  display: block;
  overflow: hidden;
  color: #6a7282;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.friend-action {
  position: absolute;
  top: 10px;
  display: grid;
  justify-items: center;
  width: 36px;
  height: 52px;
  background: transparent;
}

.friend-action.is-interact {
  left: 264px;
}

.friend-action.is-invite {
  left: 308px;
}

.friend-action span {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  border: 1.31px solid #d8bdaa;
  border-radius: 999px;
  background: #fefaf6;
}

.friend-action span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 29px;
  height: 39px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  image-rendering: pixelated;
  transform: translate(-50%, -55%);
}

.friend-action.is-interact span::before {
  background-image: url("./friend-interact-icon.png");
}

.friend-action.is-invite span::before {
  width: 36px;
  height: 23px;
  background-image: url("./friend-invite-icon.png");
  transform: translate(-50%, -50%);
}

.friend-action em {
  display: block;
  margin-top: 1px;
  color: #b47c57;
  font-family: "Jersey 20", "Jersey 25", sans-serif;
  font-size: 12.7px;
  font-style: normal;
  line-height: 14.1px;
  letter-spacing: -0.1064px;
}

.friend-feed-card {
  position: relative;
  width: 358px;
  height: 652px;
  margin: 0 auto;
  padding: 30px 0 66px;
  overflow: hidden;
  border: 2px solid #854c30;
  border-radius: 8px;
  background: #fff;
  box-shadow: 5px 5px 0 #d27d2c;
}

.friend-feed-post {
  position: relative;
  display: grid;
  grid-template-columns: 41px minmax(0, 1fr);
  column-gap: 14px;
  min-height: 231px;
  padding: 10px 20px 22px 16px;
  border-bottom: 2px solid #f0e0cc;
}

.friend-feed-post .rank-pet-avatar.is-small {
  width: 41px;
  height: 41px;
  border-width: 0.64px;
  border-radius: 10px;
  box-shadow: 2.56px 2.56px 0 rgba(0, 0, 0, 0.15), 0 1.28px 2.56px rgba(0, 0, 0, 0.1);
}

.friend-feed-post .rank-pet-avatar.is-small img {
  width: 32px;
  height: 32px;
}

.friend-feed-post .rank-pet-avatar.is-small span {
  right: -3px;
  bottom: -3px;
  width: 16px;
  height: 16px;
  font-size: 8px;
  line-height: 10px;
}

.friend-feed-post + .friend-feed-post {
  padding-top: 45px;
}

.feed-post-body {
  min-width: 0;
}

.feed-post-body h2 {
  margin: 0 0 4px;
  color: #1e2939;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.feed-post-caption {
  margin: 0 0 10px;
  color: #6a7282;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 12px;
  letter-spacing: -0.1504px;
  text-transform: uppercase;
}

.feed-post-media {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.feed-photo {
  width: 168px;
  height: 112px;
  object-fit: cover;
}

.friend-feed-post:nth-of-type(2) .feed-photo {
  width: 170px;
  height: 110px;
}

.feed-mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 62px;
  height: 112px;
  padding: 3px 6px;
  border: 1px solid #fcfefe;
  border-radius: 2px;
  background: #fff5ee;
  box-shadow: 2px 2px 0 #b47c57;
}

.feed-mini-card span {
  color: var(--figma-dark-text);
  font-family: "Pixelify Sans", sans-serif;
  font-size: 5.5px;
  font-weight: 500;
  line-height: 11px;
  letter-spacing: -0.3125px;
}

.feed-mini-card img {
  width: 48px;
  height: 48px;
  border: 1px solid #b47c57;
  border-radius: 2px;
  object-fit: cover;
}

.feed-mini-card strong {
  width: 100%;
  margin-top: 2px;
  overflow: hidden;
  color: var(--figma-dark-text);
  font-family: "Jersey 20", sans-serif;
  font-size: 8.2px;
  font-weight: 400;
  line-height: 9px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.feed-mini-card em {
  color: #fec409;
  font-size: 8px;
  font-style: normal;
  line-height: 11px;
  -webkit-text-stroke: 0.4px #62422e;
}

.feed-mini-card button {
  width: 48px;
  height: 13px;
  margin-top: auto;
  border-radius: 4px;
  color: #b47c57;
  background: #fff;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 5.5px;
  font-weight: 500;
  line-height: 9px;
  letter-spacing: -0.1504px;
}

.feed-post-meta {
  display: flex;
  justify-content: space-between;
  width: 179px;
  margin-top: 4px;
  color: rgba(106, 114, 130, 0.57);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 12px;
  letter-spacing: -0.1504px;
}

.feed-post-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.feed-post-actions button {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 118px;
  height: 24px;
  padding: 3px 10px 4px;
  border: 1px solid #d8bdaa;
  border-radius: 4px;
  color: #6a7282;
  background: #fefaf6;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 12px;
  letter-spacing: -0.1504px;
}

.feed-post-actions span {
  color: #ff8a45;
  font-size: 14px;
  line-height: 1;
}

.my-feed-card {
  position: relative;
  width: 369px;
  height: 718px;
  margin: 0 auto;
  padding: 34px 22px 28px 29px;
  overflow: hidden;
  border: 2px solid #854c30;
  border-radius: 7px;
  background: #fff;
  box-shadow: 5px 5px 0 #d27d2c;
}

.my-feed-entry {
  display: grid;
  grid-template-columns: 45px 168px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 142px;
  margin-bottom: 26px;
}

.my-feed-entry time {
  padding-top: 4px;
  color: #1e2939;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
  white-space: pre-line;
}

.my-feed-entry > img {
  width: 168px;
  height: 112px;
  object-fit: cover;
}

.my-feed-copy {
  min-width: 0;
  padding-top: 2px;
  color: #6a7282;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 9px;
  font-weight: 500;
  line-height: 11px;
  letter-spacing: -0.1504px;
}

.my-feed-copy p {
  min-height: 37px;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.my-feed-copy div {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 4px;
  color: #b47c57;
  font-size: 5.8px;
  line-height: 7px;
}

.my-feed-copy img {
  width: 12px;
  height: 12px;
  object-fit: contain;
  image-rendering: pixelated;
}

.my-feed-copy strong {
  color: #b47c57;
  font-family: "Jersey 20", sans-serif;
  font-size: 7px;
  font-weight: 400;
  line-height: 8px;
}

.new-post-screen {
  overflow: hidden;
  padding: 20px 22px 34px;
  color: var(--figma-dark-text);
  background: #fff5ee;
}

.new-post-header {
  display: grid;
  grid-template-columns: 45px 1fr 45px;
  align-items: start;
  min-height: 89px;
}

.new-post-title {
  text-align: center;
  white-space: nowrap;
}

.new-post-title h1 {
  margin: 0;
  color: var(--figma-dark-text);
  font-family: "Jersey 25", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 1.8955px;
}

.new-post-title p {
  margin: 0;
  color: var(--figma-dark-text);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.new-post-profile {
  margin: 0 0 14px;
}

.new-post-form {
  display: grid;
  justify-items: center;
}

.new-post-card {
  position: relative;
  width: 358px;
  height: 529px;
  overflow: hidden;
  border: 2px solid #854c30;
  border-radius: 8px;
  background: #fff;
  box-shadow: 5px 5px 0 #d27d2c;
}

.new-post-card textarea {
  width: 100%;
  height: 128px;
  padding: 16px;
  resize: none;
  border: 0;
  outline: 0;
  color: #1e2939;
  background: transparent;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 20.8px;
  letter-spacing: -0.15px;
}

.new-post-card textarea::placeholder {
  color: rgba(30, 41, 57, 0.5);
}

.new-post-count {
  position: absolute;
  top: 112px;
  right: 16px;
  color: #d8bdaa;
  font-family: "Pixelify Sans", sans-serif;
  font-size: 9px;
  line-height: 13.5px;
}

.new-post-divider {
  width: 322px;
  height: 1px;
  margin: 5px auto 0;
  background: #f0e0cc;
}

.new-post-photos-label {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 15px;
  margin: 15px 16px 12px;
}

.new-post-photos-label img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.new-post-photos-label span {
  color: #b47c57;
  font-family: "Pixelify Sans", sans-serif;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 0.5px;
}

.new-post-photos-label em {
  color: #d8bdaa;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  line-height: 13.5px;
}

.new-post-photo-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-left: 16px;
}

.new-post-photo-slot {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  gap: 6px;
  border: 3px dashed #d8bdaa;
  background: #fefaf6;
  cursor: pointer;
}

.new-post-photo-slot input {
  display: none;
}

.new-post-photo-slot img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.new-post-photo-slot span {
  color: #b47c57;
  font-family: "Pixelify Sans", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.75px;
}

.new-post-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 62px);
  gap: 8px;
  max-width: 132px;
}

.new-post-preview-grid img {
  width: 62px;
  height: 62px;
  border: 2px solid #d8bdaa;
  border-radius: 4px;
  object-fit: cover;
}

.new-post-location {
  position: absolute;
  left: 16px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(30, 41, 57, 0.5);
  background: transparent;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.15px;
}

.new-post-location img {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.new-post-submit {
  width: 144px;
  height: 62px;
  margin-top: 20px;
  border-radius: 4px;
  color: #fcfefe;
  background: rgba(114, 188, 86, 0.7);
  font-family: "Pixelify Sans", sans-serif;
  font-size: 22px;
  line-height: 33px;
  letter-spacing: 2px;
  transition: transform 120ms ease, background 120ms ease;
}

.new-post-submit:hover {
  transform: translateY(-1px);
  background: rgba(114, 188, 86, 0.9);
}

.friends-bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 45px;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-radius: 0 0 5px 5px;
  background: #fff6d9;
}

.friends-bottom-nav button {
  position: relative;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  width: 38px;
  height: 38px;
  background: transparent;
  transition: transform 120ms ease, filter 120ms ease;
}

.friends-bottom-nav button::before {
  content: "";
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  image-rendering: auto;
  pointer-events: none;
}

.friends-bottom-nav button[data-friends-tab="list"] {
  width: 37px;
  height: 37px;
}

.friends-bottom-nav button[data-friends-tab="list"]::before {
  top: -5px;
  left: -7px;
  width: 50px;
  height: 50px;
  background-image: url("./friend-nav-list.png");
}

.friends-bottom-nav button[data-friends-tab="list"].is-active::before {
  top: -5px;
  left: -11px;
  width: 59px;
  height: 80px;
  background-image: url("./friend-nav-sprite.png");
}

.friends-bottom-nav button[data-friends-tab="feed"] {
  width: 38px;
  height: 35px;
}

.friends-bottom-nav button[data-friends-tab="feed"]::before {
  top: -4px;
  left: 0;
  width: 38px;
  height: 39px;
  background-image: url("./friend-nav-feed.png");
}

.friends-bottom-nav button[data-friends-tab="feed"].is-active::before {
  top: -3px;
  left: -2px;
  width: 43px;
  height: 43px;
  background-image: url("./friend-nav-feed-active.png");
}

.friends-bottom-nav button[data-friends-tab="add"] {
  width: 32px;
  height: 34px;
}

.friends-bottom-nav button[data-friends-tab="add"]::before {
  top: -42px;
  left: -14px;
  width: 60px;
  height: 80px;
  background-image: url("./friend-nav-sprite.png");
}

.friends-bottom-nav button:hover,
.friends-bottom-nav button.is-active {
  transform: translateY(-1px);
  filter: saturate(1.08) drop-shadow(0 2px 0 rgba(180, 124, 87, 0.22));
}

.dashboard-pet-stage {
  position: absolute;
  top: 206px;
  left: 106px;
  z-index: 2;
  display: grid;
  width: 191px;
  height: 249px;
  cursor: pointer;
  place-items: center;
  transition: top 320ms ease;
}

.dashboard-pet-stage:focus-visible {
  outline: 4px solid rgba(255, 255, 255, 0.78);
  outline-offset: 4px;
  border-radius: 18px;
}

.dashboard-pet-stage.is-petted {
  animation: dashboardPetPop 520ms cubic-bezier(.2,.9,.2,1);
}

.dashboard-pet-stage img {
  position: relative;
  z-index: 2;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  transform-origin: center bottom;
  user-select: none;
  -webkit-user-drag: none;
  animation: dashboardPetIdle 1.45s ease-in-out infinite;
}

.dashboard-home-effect {
  position: absolute;
  right: 4px;
  bottom: 8px;
  z-index: 1;
  width: 82px;
  max-height: 78px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(3px 4px 0 rgba(98, 66, 46, 0.18));
  animation: none;
  pointer-events: none;
}

.dashboard-home-effect[hidden] {
  display: none;
}

.dashboard-pet-stage .dashboard-home-effect {
  position: absolute;
  right: auto;
  bottom: auto;
  left: var(--home-effect-left, -34px);
  top: var(--home-effect-top, 132px);
  z-index: 3;
  width: 56px;
  height: auto;
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
  transform: none;
  animation: none;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 120ms ease, filter 120ms ease, outline-color 120ms ease;
}

.dashboard-pet-stage .dashboard-home-effect:hover {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(3px 5px 0 rgba(98, 66, 46, 0.24));
}

.dashboard-pet-stage .dashboard-home-effect.is-dragging {
  z-index: 6;
  cursor: grabbing;
  outline: 3px dashed rgba(255, 213, 79, 0.95);
  outline-offset: 5px;
  transform: scale(1.08);
  filter: drop-shadow(4px 6px 0 rgba(98, 66, 46, 0.28));
}

@keyframes dashboardPetPop {
  0% {
    transform: translateY(0) scale(1, 1);
  }

  30% {
    transform: translateY(10px) scale(1.08, 0.88);
  }

  62% {
    transform: translateY(-18px) scale(0.92, 1.08);
  }

  100% {
    transform: translateY(0) scale(1, 1);
  }
}

@keyframes dashboardPetIdle {
  0%,
  100% {
    transform: translateY(0) scale(1, 1);
  }

  50% {
    transform: translateY(-7px) scale(1.02, 0.98);
  }
}

.pet-burst-particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: var(--size);
  line-height: 1;
  pointer-events: none;
  filter: drop-shadow(0 3px 0 rgba(190, 112, 88, 0.24));
  animation: petParticleBurst 920ms cubic-bezier(.16,.9,.25,1) forwards;
}

.pet-burst-particle.is-heart {
  color: #ff78b5;
  -webkit-text-stroke: 1px #fff5fb;
}

.pet-burst-particle.is-spark {
  color: #ffd74d;
  -webkit-text-stroke: 1px #fff8c9;
}

@keyframes petParticleBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.18) rotate(0deg);
  }

  18% {
    opacity: 1;
    transform: translate(-50%, -72%) scale(1.18) rotate(var(--r));
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-185% + var(--dy))) scale(0.82) rotate(calc(var(--r) * 2));
  }
}

.dashboard-step-button {
  position: absolute;
  top: 481px;
  left: 113px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 176px;
  height: 48px;
  border: 3px solid var(--figma-brown);
  border-radius: 8px;
  color: var(--figma-dark-text);
  background: var(--figma-button);
  box-shadow: 0 0 0 2px var(--figma-white), 4px 4px 0 rgba(78, 46, 26, 0.24);
  transition: top 320ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.dashboard-step-button img {
  width: 26px;
  height: 27px;
}

.dashboard-step-button strong {
  font-family: "Jersey 20", "Trebuchet MS", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 34px;
  letter-spacing: -0.4438px;
}

.dashboard-step-button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(78, 46, 26, 0.24);
}

.cards-collection {
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  height: 326px;
  border-top: 2px solid var(--figma-white);
  background: #eecca3;
  cursor: pointer;
  transition: transform 320ms ease;
  will-change: transform;
}

.cards-collection:focus-visible {
  outline: 3px solid #ffd54f;
  outline-offset: -5px;
}

.dashboard-screen.is-cards-collapsed .dashboard-pet-stage {
  top: 337px;
}

.dashboard-screen.is-cards-collapsed .dashboard-step-button {
  top: 757px;
}

.dashboard-screen.is-cards-collapsed .cards-collection {
  transform: translateY(326px);
}

.cards-collection-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 51px;
  border: 2px solid var(--figma-brown);
  border-right: 0;
  border-left: 0;
  background: var(--figma-card-bg);
  padding: 0 16px 0 17px;
  color: var(--figma-dark-text);
  font-family: "Jersey 20", "Trebuchet MS", sans-serif;
  letter-spacing: -0.1504px;
}

.cards-collection-header div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cards-collection-header img {
  width: 28px;
  height: 28px;
}

.cards-collection-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
}

.cards-collection-header strong {
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
}

.dashboard-card-strip {
  display: flex;
  gap: 23px;
  width: 374px;
  height: 248px;
  margin: 16px 0 0 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-right: 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.dashboard-card-strip::-webkit-scrollbar {
  display: none;
}

.collection-card {
  position: relative;
  flex: 0 0 136px;
  width: 136px;
  height: 244px;
  border: 2px solid var(--figma-white);
  border-radius: 2px;
  background: var(--figma-card-bg);
  box-shadow: 5px 5px 0 var(--figma-brown);
  color: var(--figma-dark-text);
  text-align: center;
  scroll-snap-align: start;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.collection-card.is-human {
  background: var(--figma-human-card-bg);
}

.card-number {
  display: block;
  margin-top: 6px;
  color: var(--figma-dark-text);
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.3125px;
}

.card-art {
  display: block;
  width: 105px;
  height: 105px;
  margin: 5px auto 4px;
  border: 1px solid var(--figma-brown);
  border-radius: 2px;
  object-fit: cover;
}

.collection-card h3 {
  width: 112px;
  min-height: 20px;
  margin: 0 auto 2px;
  color: var(--figma-dark-text);
  font-family: "Jersey 20", "Trebuchet MS", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.1504px;
  white-space: nowrap;
}

.collection-card:not(.is-human) h3 {
  font-size: 14px;
}

.card-stars {
  display: flex;
  justify-content: center;
  height: 17px;
}

.card-stars img {
  width: 16px;
  height: 17px;
}

.collection-card button {
  position: absolute;
  left: 14px;
  bottom: 15px;
  width: 104px;
  height: 27px;
  border-radius: 4px;
  background: #ffffff;
  color: var(--figma-brown);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
  font-family: "IBM Plex Sans", "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.collection-card.is-translated {
  filter: grayscale(0.9);
  opacity: 0.62;
}

.collection-card.is-translated::after {
  content: "Converted";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 2px;
  color: #ffffff;
  background: rgba(98, 66, 46, 0.42);
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.1504px;
  text-shadow:
    2px 0 0 var(--figma-dark-text),
    -2px 0 0 var(--figma-dark-text),
    0 2px 0 var(--figma-dark-text),
    0 -2px 0 var(--figma-dark-text);
  pointer-events: none;
}

.collection-card.is-translated button {
  color: #8b8f99;
  background: #e5e7eb;
  box-shadow: none;
  cursor: default;
}

.collection-screen {
  overflow-y: auto;
  padding: 16px 16px 28px;
  color: #62422e;
  background: linear-gradient(180deg, #fff5ee 0%, #fff5ee 78%, #ffebd7 100%);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.collection-screen::-webkit-scrollbar {
  display: none;
}

.collection-page-header {
  position: relative;
  min-height: 56px;
}

.collection-back-button {
  position: absolute;
  top: 0;
  left: 0;
  width: 41px;
  height: 41px;
  border-radius: 999px;
  background: transparent;
}

.collection-back-button img {
  width: 41px;
  height: 41px;
  object-fit: contain;
  image-rendering: pixelated;
}

.collection-title-block {
  width: 282px;
  margin: 0 auto;
  padding-top: 6px;
  text-align: center;
}

.collection-title-block h1 {
  margin: 0;
  color: #62422e;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 1.8955px;
}

.collection-title-block p {
  margin: 0;
  color: #0a0a0a;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.collection-search {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 370px;
  height: 48px;
  margin-top: 16px;
  padding: 0 17px;
  border: 2px solid #854c30;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 5px 4px 0 #d27d2c;
}

.collection-search img {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  object-fit: contain;
  image-rendering: pixelated;
}

.collection-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #62422e;
  background: transparent;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.collection-search input::placeholder {
  color: rgba(133, 76, 48, 0.5);
}

.collection-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 11px;
  width: 370px;
  margin-top: 16px;
}

.collection-category-card {
  position: relative;
  height: 187px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff5ee;
  color: #62422e;
  box-shadow: none;
}

.collection-category-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}

.collection-category-card strong {
  position: absolute;
  left: 50%;
  bottom: 21px;
  min-width: 112px;
  transform: translateX(-50%);
  color: #62422e;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.95px;
  text-align: center;
  text-shadow:
    1px 0 0 #ffe2a0,
    -1px 0 0 #ffe2a0,
    0 1px 0 #ffe2a0,
    0 -1px 0 #ffe2a0;
}

.collection-category-count {
  position: absolute;
  top: 13px;
  right: 12px;
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 23px;
  padding: 0 8px;
  border: 1.5px solid #854c30;
  border-radius: 999px;
  color: #62422e;
  background: #fff6db;
  box-shadow: 2px 2px 0 rgba(133, 76, 48, 0.22);
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
}

.collection-recent {
  width: 370px;
  margin-top: 22px;
}

.collection-recent h2 {
  margin: 0 0 12px;
  color: #62422e;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 1.8955px;
}

.collection-recent-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 30px;
}

.collection-recent-card {
  display: grid;
  grid-template-columns: 66px 1fr 92px;
  align-items: center;
  column-gap: 14px;
  width: 370px;
  min-height: 96px;
  padding: 14px 13px 14px 15px;
  border: 2px solid #d8bdaa;
  border-radius: 4px;
  background: #fefaf6;
  box-shadow: 5px 4px 0 #d27d2c;
}

.collection-recent-card:first-child {
  box-shadow: none;
}

.collection-recent-thumb,
.collection-locked-thumb {
  width: 66px;
  height: 66px;
  border: 1.5px solid #b47c57;
  border-radius: 4px;
  object-fit: cover;
}

.collection-locked-thumb {
  position: relative;
  display: block;
  background: linear-gradient(135deg, #e6d8c8, #fbf4ea);
  box-shadow: inset 0 0 0 5px #efe5dc;
}

.collection-locked-thumb::before,
.collection-locked-thumb::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  height: 4px;
  border-radius: 999px;
  background: #b4b4b4;
}

.collection-locked-thumb::before {
  top: 25px;
  transform: rotate(45deg);
}

.collection-locked-thumb::after {
  top: 25px;
  transform: rotate(-45deg);
}

.collection-recent-copy {
  min-width: 0;
}

.collection-recent-copy h3 {
  margin: 0;
  color: #62422e;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.25px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collection-recent-stars {
  display: flex;
  gap: 1px;
  height: 16px;
  margin-top: 8px;
}

.collection-recent-stars img {
  width: 15px;
  height: 15px;
  image-rendering: pixelated;
}

.collection-recent-stars img.is-empty {
  filter: grayscale(1);
  opacity: 0.28;
}

.collection-status-button {
  width: 88px;
  height: 34px;
  border-radius: 4px;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.collection-status-button.is-collected {
  border: 1.5px solid #854c30;
  color: #62422e;
  background: #ffd54f;
  box-shadow: 2px 2px 0 rgba(133, 76, 48, 0.3);
}

.collection-status-button.is-not-found {
  border: 1.5px solid #b4b4b4;
  color: #ffffff;
  background: #d8d8d8;
}

.collection-recent-card.is-locked {
  opacity: 0.55;
  box-shadow: 5px 4px 0 rgba(210, 125, 44, 0.35);
}

.dashboard-pet-decoration {
  position: absolute;
  z-index: 4;
  display: block;
  opacity: 0;
  pointer-events: none;
  image-rendering: pixelated;
  transform-origin: center bottom;
  animation: dashboardPetIdle 1.45s ease-in-out infinite;
}

.dashboard-pet-decoration.is-bubble-cap {
  top: 28px;
  left: 69px;
  width: 56px;
  height: 28px;
  border: 4px solid #f7fbff;
  border-bottom: 0;
  border-radius: 28px 28px 8px 8px;
  background: repeating-linear-gradient(90deg, #baeaff 0 6px, #8fd6ee 6px 12px);
  box-shadow: 0 4px 0 #5aaeca, inset 0 4px 0 rgba(255, 255, 255, 0.8);
  opacity: 1;
}

.dashboard-pet-decoration.is-shell-pin {
  top: 96px;
  left: 128px;
  width: 30px;
  height: 25px;
  border: 3px solid #b47c57;
  border-radius: 16px 16px 8px 8px;
  background: repeating-linear-gradient(90deg, #fff0bf 0 5px, #ffc873 5px 10px);
  box-shadow: 3px 3px 0 rgba(98, 66, 46, 0.22);
  opacity: 1;
}

.dashboard-pet-decoration.is-ocean-scarf {
  top: 119px;
  left: 67px;
  width: 63px;
  height: 18px;
  border: 3px solid #ffffff;
  border-radius: 4px;
  background: linear-gradient(90deg, #53c7ee 0 55%, #ffcf58 55% 72%, #53c7ee 72%);
  box-shadow: 4px 4px 0 rgba(98, 66, 46, 0.22);
  opacity: 1;
}

.dashboard-pet-decoration.is-star-charm {
  top: 82px;
  left: 52px;
  width: 24px;
  height: 24px;
  background: #ffd34d;
  clip-path: polygon(50% 0, 62% 34%, 98% 34%, 69% 55%, 80% 90%, 50% 68%, 20% 90%, 31% 55%, 2% 34%, 38% 34%);
  filter: drop-shadow(2px 2px 0 #b47c57);
  opacity: 1;
}

.dashboard-pet-decoration.is-coral-bloom {
  top: 54px;
  left: 119px;
  width: 33px;
  height: 33px;
  background:
    radial-gradient(circle at 50% 50%, #ffe8f2 0 18%, transparent 19%),
    radial-gradient(circle at 50% 12%, #ff86b2 0 22%, transparent 23%),
    radial-gradient(circle at 86% 45%, #ff86b2 0 22%, transparent 23%),
    radial-gradient(circle at 62% 86%, #ff86b2 0 22%, transparent 23%),
    radial-gradient(circle at 16% 45%, #ff86b2 0 22%, transparent 23%);
  filter: drop-shadow(2px 2px 0 #b47c57);
  opacity: 1;
}

.dashboard-pet-decoration.is-pearl-crown {
  top: 32px;
  left: 66px;
  width: 65px;
  height: 23px;
  border: 3px solid #ffffff;
  border-radius: 18px 18px 6px 6px;
  background:
    radial-gradient(circle at 12px 11px, #ffffff 0 6px, transparent 7px),
    radial-gradient(circle at 32px 7px, #ffffff 0 7px, transparent 8px),
    radial-gradient(circle at 52px 11px, #ffffff 0 6px, transparent 7px),
    #7fd3ee;
  box-shadow: 3px 3px 0 rgba(98, 66, 46, 0.22);
  opacity: 1;
}

.dashboard-pet-decoration.is-daisy-pin {
  top: 91px;
  left: 45px;
  width: 28px;
  height: 28px;
  background:
    radial-gradient(circle at 50% 50%, #fec409 0 18%, transparent 19%),
    radial-gradient(circle at 50% 8%, #fff8dc 0 21%, transparent 22%),
    radial-gradient(circle at 90% 50%, #fff8dc 0 21%, transparent 22%),
    radial-gradient(circle at 50% 92%, #fff8dc 0 21%, transparent 22%),
    radial-gradient(circle at 10% 50%, #fff8dc 0 21%, transparent 22%);
  filter: drop-shadow(2px 2px 0 #b47c57);
  opacity: 1;
}

.dashboard-pet-decoration.is-sea-glass {
  top: 118px;
  left: 133px;
  width: 25px;
  height: 27px;
  border: 3px solid #ffffff;
  border-radius: 8px 12px 9px 13px;
  background: linear-gradient(135deg, #8af0cf, #42b8d7);
  box-shadow: 3px 3px 0 rgba(98, 66, 46, 0.22);
  opacity: 1;
}

.dashboard-pet-decoration.is-leaf-hat {
  top: 34px;
  left: 69px;
  width: 60px;
  height: 30px;
  border: 3px solid #5a8c39;
  border-radius: 50% 50% 8px 8px;
  background: linear-gradient(135deg, #8fd85b 0 45%, #4fb246 45%);
  box-shadow: 3px 3px 0 rgba(98, 66, 46, 0.22);
  opacity: 1;
}

.dashboard-pet-decoration.is-berry-bow {
  top: 56px;
  left: 52px;
  width: 26px;
  height: 22px;
  background: #ff78b5;
  clip-path: polygon(0 8%, 42% 30%, 50% 0, 58% 30%, 100% 8%, 90% 100%, 58% 70%, 50% 100%, 42% 70%, 10% 100%);
  filter: drop-shadow(2px 2px 0 #b47c57);
  opacity: 1;
}

.dashboard-pet-decoration.is-sun-crown {
  top: 32px;
  left: 68px;
  width: 58px;
  height: 28px;
  border-bottom: 8px solid #ffb742;
  background: linear-gradient(135deg, transparent 0 20%, #fec409 20% 34%, transparent 34% 40%, #fec409 40% 56%, transparent 56% 64%, #fec409 64% 78%, transparent 78%);
  filter: drop-shadow(3px 3px 0 #b47c57);
  opacity: 1;
}

.shop-decoration-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
  height: 430px;
  border-top: 3px solid var(--figma-brown);
  background: #eecca3;
  box-shadow: 0 -5px 0 rgba(98, 66, 46, 0.18);
  transform: translateY(102%);
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}

.dashboard-screen.is-shop-open .shop-decoration-panel {
  transform: translateY(0);
}

.shop-decoration-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 14px 0 17px;
  border-top: 2px solid var(--figma-white);
  border-bottom: 2px solid var(--figma-brown);
  background: var(--figma-card-bg);
  color: var(--figma-dark-text);
}

.shop-decoration-header div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-decoration-header img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  image-rendering: pixelated;
}

.shop-decoration-header h2 {
  margin: 0;
  color: var(--figma-dark-text);
  font-family: "Jersey 20", "Trebuchet MS", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.shop-decoration-close {
  width: 34px;
  height: 34px;
  border: 2px solid var(--figma-brown);
  border-radius: 7px;
  color: var(--figma-dark-text);
  background: #fff5ee;
  box-shadow: 3px 3px 0 #d27d2c;
  font-family: "Jersey 25", sans-serif;
  font-size: 30px;
  line-height: 26px;
}

.shop-decoration-body {
  height: calc(100% - 56px);
  padding: 13px 16px 18px;
}

.shop-decoration-preview {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 10px 14px;
  border: 2px solid #b47c57;
  border-radius: 8px;
  background: rgba(255, 245, 238, 0.9);
  box-shadow: 4px 4px 0 rgba(98, 66, 46, 0.16);
}

.shop-preview-pet {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 66px;
}

.shop-preview-pet img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  image-rendering: pixelated;
}

.shop-preview-pet .dashboard-pet-decoration {
  animation: none;
  transform: scale(0.42);
  transform-origin: top left;
}

.shop-preview-pet .dashboard-pet-decoration.is-bubble-cap,
.shop-preview-pet .dashboard-pet-decoration.is-leaf-hat,
.shop-preview-pet .dashboard-pet-decoration.is-sun-crown {
  top: 5px;
  left: 21px;
}

.shop-preview-pet .dashboard-pet-decoration.is-shell-pin {
  top: 28px;
  left: 46px;
}

.shop-preview-pet .dashboard-pet-decoration.is-ocean-scarf {
  top: 34px;
  left: 22px;
}

.shop-preview-pet .dashboard-pet-decoration.is-star-charm,
.shop-preview-pet .dashboard-pet-decoration.is-berry-bow {
  top: 22px;
  left: 19px;
}

.shop-preview-pet .dashboard-pet-decoration.is-coral-bloom {
  top: 20px;
  left: 44px;
}

.shop-preview-pet .dashboard-pet-decoration.is-pearl-crown {
  top: 6px;
  left: 20px;
}

.shop-preview-pet .dashboard-pet-decoration.is-daisy-pin {
  top: 31px;
  left: 17px;
}

.shop-preview-pet .dashboard-pet-decoration.is-sea-glass {
  top: 35px;
  left: 47px;
}

.shop-decoration-preview strong {
  display: block;
  color: var(--figma-dark-text);
  font-family: "Jersey 20", "Trebuchet MS", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 24px;
}

.shop-decoration-preview p {
  margin: 5px 0 0;
  color: #b47c57;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
}

.shop-decoration-grid {
  display: grid;
  grid-template-columns: repeat(4, 82px);
  grid-auto-rows: 116px;
  gap: 12px 10px;
  margin-top: 12px;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 238px;
  padding: 2px 4px 12px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shop-decoration-grid::-webkit-scrollbar {
  display: none;
}

.shop-decoration-card {
  position: relative;
  display: grid;
  grid-template-rows: 49px 19px 14px 23px;
  justify-items: center;
  width: 82px;
  height: 116px;
  padding: 7px 5px 6px;
  border: 2px solid var(--figma-white);
  border-radius: 3px;
  color: var(--figma-dark-text);
  background: #fff5ee;
  box-shadow: 5px 5px 0 #b47c57;
  text-align: center;
}

.shop-decoration-card.is-equipped {
  background: #fff9d9;
  box-shadow: 5px 5px 0 #d27d2c;
}

.shop-decoration-card.is-locked {
  filter: saturate(0.92);
}

.shop-decoration-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: #ffd451;
  box-shadow: 3px 3px 0 rgba(98, 66, 46, 0.17);
}

.shop-decoration-icon::before {
  content: "";
  display: block;
  image-rendering: pixelated;
}

.shop-decoration-icon.is-bubble-cap::before {
  width: 35px;
  height: 18px;
  border: 3px solid #ffffff;
  border-bottom: 0;
  border-radius: 28px 28px 8px 8px;
  background: repeating-linear-gradient(90deg, #baeaff 0 4px, #8fd6ee 4px 8px);
  box-shadow: 0 3px 0 #5aaeca;
}

.shop-decoration-icon.is-shell-pin::before {
  width: 31px;
  height: 25px;
  border: 3px solid #b47c57;
  border-radius: 24px 24px 9px 9px;
  background: repeating-linear-gradient(90deg, #fff0bf 0 5px, #ffc873 5px 10px);
}

.shop-decoration-icon.is-ocean-scarf::before {
  width: 36px;
  height: 15px;
  border: 3px solid #fff;
  border-radius: 4px;
  background: linear-gradient(90deg, #53c7ee 0 55%, #ffcf58 55% 72%, #53c7ee 72%);
}

.shop-decoration-icon.is-star-charm::before,
.shop-decoration-icon.is-berry-bow::before,
.shop-decoration-icon.is-leaf-hat::before,
.shop-decoration-icon.is-sun-crown::before,
.shop-decoration-icon.is-coral-bloom::before,
.shop-decoration-icon.is-daisy-pin::before {
  width: 31px;
  height: 31px;
}

.shop-decoration-icon.is-star-charm::before {
  background: #ffd34d;
  clip-path: polygon(50% 0, 62% 34%, 98% 34%, 69% 55%, 80% 90%, 50% 68%, 20% 90%, 31% 55%, 2% 34%, 38% 34%);
  filter: drop-shadow(2px 2px 0 #b47c57);
}

.shop-decoration-icon.is-berry-bow::before {
  background: #ff78b5;
  clip-path: polygon(0 8%, 42% 30%, 50% 0, 58% 30%, 100% 8%, 90% 100%, 58% 70%, 50% 100%, 42% 70%, 10% 100%);
  filter: drop-shadow(2px 2px 0 #b47c57);
}

.shop-decoration-icon.is-leaf-hat::before {
  height: 30px;
  border: 3px solid #5a8c39;
  border-radius: 50% 50% 8px 8px;
  background: linear-gradient(135deg, #8fd85b 0 45%, #4fb246 45%);
}

.shop-decoration-icon.is-sun-crown::before {
  height: 23px;
  border-bottom: 6px solid #ffb742;
  background: linear-gradient(135deg, transparent 0 20%, #fec409 20% 34%, transparent 34% 40%, #fec409 40% 56%, transparent 56% 64%, #fec409 64% 78%, transparent 78%);
  filter: drop-shadow(2px 2px 0 #b47c57);
}

.shop-decoration-icon.is-default-skin::before {
  width: 33px;
  height: 33px;
  border: 3px solid #ffffff;
  border-radius: 9px;
  background:
    radial-gradient(circle at 12px 14px, #111 0 3px, transparent 4px),
    radial-gradient(circle at 23px 14px, #111 0 3px, transparent 4px),
    linear-gradient(#214c9c 0 0) 12px 23px / 15px 3px no-repeat,
    #91dce9;
  box-shadow: 2px 2px 0 #5aaeca;
}

.shop-decoration-icon.is-coral-bloom::before {
  background:
    radial-gradient(circle at 50% 50%, #ffe8f2 0 18%, transparent 19%),
    radial-gradient(circle at 50% 12%, #ff86b2 0 22%, transparent 23%),
    radial-gradient(circle at 86% 45%, #ff86b2 0 22%, transparent 23%),
    radial-gradient(circle at 62% 86%, #ff86b2 0 22%, transparent 23%),
    radial-gradient(circle at 16% 45%, #ff86b2 0 22%, transparent 23%);
  filter: drop-shadow(2px 2px 0 #b47c57);
}

.shop-decoration-icon.is-pearl-crown::before {
  width: 38px;
  height: 19px;
  border: 3px solid #ffffff;
  border-radius: 18px 18px 6px 6px;
  background:
    radial-gradient(circle at 8px 8px, #ffffff 0 4px, transparent 5px),
    radial-gradient(circle at 19px 5px, #ffffff 0 5px, transparent 6px),
    radial-gradient(circle at 31px 8px, #ffffff 0 4px, transparent 5px),
    #7fd3ee;
}

.shop-decoration-icon.is-daisy-pin::before {
  background:
    radial-gradient(circle at 50% 50%, #fec409 0 18%, transparent 19%),
    radial-gradient(circle at 50% 8%, #fff8dc 0 21%, transparent 22%),
    radial-gradient(circle at 90% 50%, #fff8dc 0 21%, transparent 22%),
    radial-gradient(circle at 50% 92%, #fff8dc 0 21%, transparent 22%),
    radial-gradient(circle at 10% 50%, #fff8dc 0 21%, transparent 22%);
  filter: drop-shadow(2px 2px 0 #b47c57);
}

.shop-decoration-icon.is-sea-glass::before {
  width: 27px;
  height: 29px;
  border: 3px solid #ffffff;
  border-radius: 8px 12px 9px 13px;
  background: linear-gradient(135deg, #8af0cf, #42b8d7);
}

.shop-decoration-card strong {
  overflow: hidden;
  max-width: 72px;
  color: var(--figma-dark-text);
  font-family: "Jersey 20", "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.shop-decoration-card em {
  color: #b47c57;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
  line-height: 10px;
}

.shop-decoration-action {
  display: grid;
  place-items: center;
  width: 64px;
  height: 21px;
  border-radius: 4px;
  color: #ffffff;
  background: #71c254;
  box-shadow: 2px 2px 0 rgba(78, 46, 26, 0.24);
  font-family: "Pixelify Sans", "Jersey 20", sans-serif;
  font-size: 11px;
  font-weight: 500;
}

.shop-decoration-card.is-owned .shop-decoration-action {
  background: #ffbe7d;
}

.shop-decoration-card.is-equipped .shop-decoration-action {
  background: #b47c57;
}

.shop-decoration-panel {
  top: 61.55%;
  right: 0;
  bottom: 0;
  left: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
}

.shop-decoration-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  padding: 16px 12px 8px 14px;
  border: 0;
  background: #ffffff;
}

.shop-decoration-tabs {
  display: flex;
  gap: 12px;
}

.shop-decoration-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 137px;
  height: 47px;
  padding: 0 9px;
  border: 2px solid #b47c57;
  border-radius: 6px;
  color: #b47c57;
  background: #f2eae3;
  box-shadow: 4px 4px 0 rgba(98, 66, 46, 0.2);
  font-family: "Jersey 20", "Trebuchet MS", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  white-space: nowrap;
}

.shop-decoration-tab.is-active {
  color: #ffffff;
  background: #e3a86c;
  box-shadow: 4px 4px 0 #d27d2c;
}

.shop-decoration-tab.is-active[data-shop-tab="home"] {
  color: #62422e;
  background: #ffd54f;
  border-color: #854c30;
}

.shop-decoration-tab-icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.shop-decoration-tab-icon.is-accessory::before {
  content: "";
  position: absolute;
  inset: 3px 2px 2px;
  border: 2px solid currentColor;
  border-radius: 3px 3px 5px 5px;
}

.shop-decoration-tab-icon.is-accessory::after {
  content: "";
  position: absolute;
  top: 0;
  left: 5px;
  width: 8px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.shop-decoration-tab-icon.is-home::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 14px;
  height: 9px;
  border: 2px solid currentColor;
  border-top: 0;
}

.shop-decoration-tab-icon.is-home::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.shop-decoration-wallet {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 78px;
  height: 51px;
  color: #62422e;
  font-family: "Jersey 20", "Trebuchet MS", sans-serif;
  font-size: 18px;
  line-height: 25px;
}

.shop-decoration-wallet strong {
  font-weight: 400;
}

.shop-decoration-coin {
  position: relative;
  width: 22px;
  height: 22px;
  border: 3px solid #d6a14f;
  border-radius: 999px;
  background: #ffe78b;
  box-shadow: inset 0 0 0 2px #fff4ba, 2px 2px 0 rgba(98, 66, 46, 0.16);
}

.shop-decoration-coin::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 8px;
  width: 4px;
  height: 8px;
  border-right: 2px solid #b47c57;
  border-bottom: 2px solid #b47c57;
}

.shop-decoration-close {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.shop-decoration-preview {
  display: none;
}

.shop-decoration-body {
  height: calc(100% - 75px);
  padding: 0;
  background: #ffffff;
  overflow: hidden;
}

.shop-decoration-grid {
  display: grid;
  grid-template-columns: repeat(4, 76.6px);
  grid-auto-rows: 89.6px;
  gap: 13.8px;
  justify-content: center;
  align-content: start;
  height: 100%;
  max-height: none;
  margin-top: 0;
  padding: 16px 14px 26px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shop-decoration-card {
  display: grid;
  grid-template-rows: 58.2px 20.1px;
  align-content: space-between;
  justify-items: center;
  width: 76.6px;
  height: 89.6px;
  padding: 7.5px 5.6px 3.7px;
  border: 1.8px solid #d8bdaa;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 2.8px 2.8px 0 #b47c57;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.shop-decoration-card:active {
  transform: translate(1px, 1px);
}

.shop-decoration-card.is-equipped {
  border-color: #71c254;
  background: #fffdf4;
  box-shadow: 2.8px 2.8px 0 #71c254;
}

.shop-decoration-card.is-locked:not(.is-owned) {
  background: #fffaf5;
}

.shop-decoration-icon {
  display: grid;
  place-items: center;
  width: 67px;
  height: 58.2px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.shop-decoration-icon::before {
  content: none;
  display: none;
}

.shop-decoration-icon img {
  max-width: 67px;
  max-height: 58px;
  object-fit: contain;
  image-rendering: pixelated;
  pointer-events: none;
}

.shop-decoration-card strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.shop-decoration-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 67px;
  height: 20.1px;
  border: 1.2px solid #d8bdaa;
  border-radius: 3.7px;
  color: #62422e;
  background: #fde8c8;
  font-family: "Jersey 20", "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
}

.shop-decoration-price span {
  position: relative;
  display: block;
  width: 9px;
  height: 9px;
  border: 1.4px solid #d8bdaa;
  border-radius: 999px;
  background: #fff3c8;
  box-shadow: inset 0 0 0 1px #f3c37b;
}

.shop-decoration-price span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 2px;
  height: 3px;
  border-right: 1px solid #b47c57;
  border-bottom: 1px solid #b47c57;
}

.shop-modal-overlay {
  position: absolute;
  inset: 0;
  z-index: 22;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.shop-modal-overlay.is-open {
  display: flex;
}

.shop-modal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 256px;
  min-height: 256px;
  padding: 22px 20px 20px;
  border-radius: 6px;
  color: #62422e;
  background: #fff5ee;
  box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
}

.shop-modal-card.is-confirm {
  min-height: 270px;
}

.shop-modal-stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(90deg, #fcbd80 0%, #fdc475 14%, #fecb68 29%, #ffd54f 50%, #fecb68 71%, #fdc475 86%, #fcbd80 100%);
}

.shop-modal-close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 24px;
  height: 24px;
  border: 0;
  color: #62422e;
  background: transparent;
  font-family: "Pixelify Sans", "Jersey 20", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
}

.shop-modal-item-image {
  width: 65px;
  height: 60px;
  margin: 0 0 14px;
  object-fit: contain;
  image-rendering: pixelated;
}

.shop-modal-card h2 {
  margin: 0;
  font-family: "Jersey 25", "Jersey 20", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 1.2px;
  text-align: center;
}

.shop-modal-copy {
  margin: 4px 0 10px;
  color: #b47c57;
  font-family: "IBM Plex Sans", "Trebuchet MS", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  text-align: center;
}

.shop-modal-copy strong {
  color: #62422e;
  font-weight: 500;
}

.shop-modal-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 24px;
  min-width: 85px;
  padding: 1.5px 13.5px;
  border: 1.5px solid #d8bdaa;
  border-radius: 4px;
  color: #b47c57;
  background: #fde8c8;
  font-family: "IBM Plex Sans", "Trebuchet MS", sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
}

.shop-modal-price strong {
  color: #62422e;
  font-family: "Jersey 20", "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
}

.shop-modal-coin {
  position: relative;
  display: block;
  width: 9px;
  height: 9px;
  border: 1.4px solid #d8bdaa;
  border-radius: 999px;
  background: #fff3c8;
  box-shadow: inset 0 0 0 1px #f3c37b;
}

.shop-modal-coin::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 2px;
  height: 3px;
  border-right: 1px solid #b47c57;
  border-bottom: 1px solid #b47c57;
}

.shop-modal-balance {
  margin: 6px 0 14px;
  color: #b47c57;
  font-family: "IBM Plex Sans", "Trebuchet MS", sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 12px;
}

.shop-modal-actions {
  display: flex;
  gap: 8px;
  width: 216px;
  margin-top: auto;
}

.shop-modal-button {
  height: 36px;
  border-radius: 4px;
  font-family: "Pixelify Sans", "Jersey 20", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.shop-modal-button.is-cancel {
  flex: 1;
  border: 1.5px solid #d8bdaa;
  color: #62422e;
  background: #ffffff;
}

.shop-modal-button.is-confirm,
.shop-modal-button.is-ok {
  border: 0;
  color: #ffffff;
  background: #72bc56;
}

.shop-modal-actions .shop-modal-button.is-confirm {
  flex: 1;
}

.shop-modal-button.is-ok {
  width: 216px;
  margin-top: 18px;
}

.shop-modal-button:disabled {
  color: #8b8f99;
  background: #dcdcdc;
  cursor: default;
}

.walk-screen {
  padding: 32px 22px;
  background:
    linear-gradient(180deg, rgba(60, 184, 233, 0.9), rgba(60, 184, 233, 0.25) 42%, rgba(125, 211, 95, 0.72)),
    url("./figma-node-3-41.png") center / cover;
}

.walk-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 246, 196, 0.42);
  backdrop-filter: blur(2px);
}

.walk-header,
.progress-card,
.route-list {
  position: relative;
  z-index: 1;
}

.walk-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.back-button {
  width: 42px;
  height: 42px;
  border: 4px solid #2f1b5f;
  border-radius: 12px;
  color: #fff2a2;
  background: var(--orange);
  font-size: 34px;
  line-height: 30px;
  box-shadow: 4px 4px 0 #1b2d71;
}

.walk-header p,
.progress-card p,
.route-card span {
  margin: 0;
  color: #6a3b19;
  font-size: 13px;
  font-weight: 800;
}

.walk-header h1 {
  margin: 2px 0 0;
  color: #fff4a8;
  font-size: 34px;
  line-height: 1;
  text-shadow: 3px 3px 0 #592c91, 5px 5px 0 #1c2f74;
}

.progress-card,
.route-card,
.route-dialog {
  border: 4px solid #2f1b5f;
  border-radius: 18px;
  background: #fff5b8;
  box-shadow: 5px 5px 0 #1b2d71;
}

.progress-card {
  padding: 18px;
  margin-bottom: 18px;
}

.progress-card strong {
  display: block;
  margin: 4px 0;
  color: #ff6c22;
  font-size: 44px;
  line-height: 1;
  text-shadow: 2px 2px 0 #2f1b5f;
}

.progress-card span {
  color: #6a3b19;
  font-weight: 800;
}

.progress-track {
  height: 16px;
  margin-top: 14px;
  border: 3px solid #2f1b5f;
  border-radius: 10px;
  background: #7fd3f6;
  overflow: hidden;
}

.progress-track div {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #79d850, #ffcf43);
  transition: width 360ms ease;
}

.route-list {
  display: grid;
  gap: 12px;
}

.route-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 82px;
  padding: 12px;
  text-align: left;
}

.route-card:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 #1b2d71;
}

.route-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 3px solid #2f1b5f;
  border-radius: 12px;
  background: #8ee06b;
  font-size: 24px;
}

.route-card strong {
  display: block;
  margin-bottom: 3px;
  color: #2f1b5f;
  font-size: 18px;
}

.route-card em {
  color: #ff6c22;
  font-style: normal;
  font-weight: 900;
}

.route-dialog {
  width: min(calc(100vw - 36px), 350px);
  padding: 22px;
  color: var(--ink);
}

.route-dialog::backdrop {
  background: rgba(25, 24, 48, 0.5);
}

.close-button {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 3px solid #2f1b5f;
  border-radius: 10px;
  color: #2f1b5f;
  background: #ffcf43;
  font-size: 22px;
  font-weight: 900;
}

.route-dialog h2 {
  margin: 4px 38px 12px 0;
  color: #ff6c22;
  font-size: 26px;
  line-height: 1.1;
  text-shadow: 2px 2px 0 #2f1b5f;
}

.route-dialog p {
  margin: 0 0 10px;
  font-weight: 800;
}

.dialog-action {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 4px solid #2f1b5f;
  border-radius: 14px;
  color: #fff4a8;
  background: #70c957;
  font-weight: 900;
  box-shadow: 4px 4px 0 #1b2d71;
}

.find-screen {
  padding: 0;
  background: var(--figma-card-bg);
}

.find-screen::before {
  content: none;
}

.find-header,
.find-categories,
.create-route-button,
.my-route-button {
  position: absolute;
  z-index: 1;
}

.find-header {
  top: 22px;
  left: 26px;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.find-icon-button {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  background: transparent;
}

.find-icon-button img {
  width: 41px;
  height: 41px;
  display: block;
}

.find-title-block {
  width: 137px;
  text-align: center;
  color: var(--figma-dark-text);
}

.find-title-block h1 {
  margin: 1px 0 0;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 1.8955px;
}

.find-title-block p {
  margin: -2px 0 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
  white-space: nowrap;
}

.find-categories {
  top: 327px;
  left: 41px;
  display: grid;
  grid-template-columns: repeat(2, 140px);
  gap: 47px;
}

.find-category-card {
  position: relative;
  display: flex;
  width: 140px;
  flex-direction: column;
  align-items: center;
  padding-bottom: 6px;
  background: transparent;
}

.find-category-card img {
  width: 140px;
  height: auto;
  display: block;
  object-fit: contain;
  image-rendering: pixelated;
}

.find-category-card span,
.create-route-button,
.my-route-button {
  min-height: 31px;
  padding: 4px 10px 5px;
  border: 3px solid var(--figma-dark-text);
  border-radius: 7px;
  color: var(--figma-dark-text);
  background: var(--figma-button);
  font-family: "Jersey 20", "Arial Rounded MT Bold", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.1504px;
  box-shadow: inset 0 0 0 2px rgba(255, 245, 238, 0.28);
  white-space: nowrap;
}

.find-category-card span {
  width: 114px;
  margin-top: -6px;
}

.find-category-card:active,
.find-icon-button:active {
  transform: translateY(2px);
}

.create-route-button {
  top: 566px;
  left: 50%;
  width: 200px;
  color: var(--figma-card-bg);
  background: #72bc56;
  transform: translateX(-50%);
}

.create-route-button:active {
  transform: translateX(-50%) translateY(2px);
}

.my-route-button {
  top: 636px;
  left: 50%;
  width: 128px;
  color: var(--figma-dark-text);
  background: var(--figma-button);
  transform: translateX(-50%);
}

.my-route-button:active {
  transform: translateX(-50%) translateY(2px);
}

.my-route-button[hidden] {
  display: none;
}

.create-route-screen {
  padding: 0;
  overflow-y: auto;
  background: var(--figma-card-bg);
  color: var(--figma-dark-text);
}

.create-route-screen::before {
  content: none;
}

.create-route-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 48px;
  min-height: 92px;
  padding: 22px 26px 12px;
  background: var(--figma-card-bg);
}

.create-route-back {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  background: transparent;
}

.create-route-back img {
  width: 41px;
  height: 41px;
  display: block;
}

.create-route-back:active {
  transform: translateY(2px);
}

.create-route-title {
  width: 137px;
  text-align: center;
}

.create-route-title h1 {
  margin: 1px 0 0;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 1.8955px;
}

.create-route-title p {
  margin: -2px 0 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
  white-space: nowrap;
}

.create-route-form {
  display: flex;
  flex-direction: column;
  gap: 24.5px;
  width: 100%;
  min-height: 1160px;
  padding: 0 24.5px 31px;
}

.route-form-field,
.route-map-field,
.route-range-field,
.difficulty-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.route-form-field,
.route-map-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.route-form-field > span,
.route-map-field > span,
.route-range-field legend,
.difficulty-field legend {
  color: var(--figma-dark-text);
  font-family: "Jersey 20", "Arial Rounded MT Bold", sans-serif;
  font-size: 18.4px;
  font-weight: 400;
  line-height: 20.4px;
  letter-spacing: -0.1536px;
}

.route-form-field input,
.route-form-field textarea,
.route-range-field input {
  width: 100%;
  border: 1.54px solid var(--figma-brown);
  border-radius: 4px;
  color: var(--figma-dark-text);
  background: var(--figma-white);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14.3px;
  font-weight: 500;
  outline: none;
}

.route-form-field input {
  height: 52px;
  padding: 0 18px;
}

.route-form-field textarea {
  height: 116px;
  resize: none;
  padding: 13px 18px;
  line-height: 20.4px;
}

.route-form-field input::placeholder,
.route-form-field textarea::placeholder,
.route-range-field input::placeholder {
  color: rgba(180, 124, 87, 0.5);
}

.route-form-field input:focus,
.route-form-field textarea:focus,
.route-range-field input:focus {
  box-shadow: 0 0 0 2px rgba(180, 124, 87, 0.16);
}

.route-map-field {
  gap: 8.2px;
}

.route-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.route-map-heading > span {
  color: var(--figma-dark-text);
  font-family: "Jersey 20", "Arial Rounded MT Bold", sans-serif;
  font-size: 18.4px;
  font-weight: 400;
  line-height: 20.4px;
  letter-spacing: -0.1536px;
}

.route-map-heading output {
  color: var(--figma-brown);
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.route-map-canvas {
  position: relative;
  width: 100%;
  height: 309px;
  overflow: hidden;
  border: 1.54px solid var(--figma-brown);
  border-radius: 4px;
  background: linear-gradient(139deg, #fff5ee 0%, #f1ffe3 100%);
}

.route-map-canvas .leaflet-container,
.route-map-canvas.leaflet-container {
  color: var(--figma-dark-text);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

.route-map-canvas .leaflet-control-zoom {
  overflow: hidden;
  border: 2px solid var(--figma-brown);
  border-radius: 4px;
  box-shadow: 2px 2px 0 rgba(98, 66, 46, 0.25);
}

.route-map-canvas .leaflet-control-zoom a {
  border: 0;
  color: var(--figma-dark-text);
  background: var(--figma-human-card-bg);
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-weight: 700;
}

.route-map-canvas .leaflet-control-attribution {
  color: var(--figma-dark-text);
  background: rgba(255, 245, 238, 0.78);
  font-size: 9px;
}

.route-point-marker {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 3px solid var(--figma-dark-text);
  border-radius: 50%;
  color: var(--figma-dark-text);
  background: var(--figma-button);
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 2px 2px 0 rgba(98, 66, 46, 0.3);
}

.route-point-marker.is-start {
  background: #72bc56;
  color: var(--figma-white);
}

.route-point-marker.is-end {
  background: #fec409;
}

.route-map-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.route-map-actions p {
  margin: 0;
  color: rgba(98, 66, 46, 0.78);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}

.route-map-actions button {
  min-width: 64px;
  height: 28px;
  border: 1.54px solid var(--figma-brown);
  border-radius: 4px;
  color: var(--figma-dark-text);
  background: var(--figma-human-card-bg);
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.route-map-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.route-range-field,
.difficulty-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.route-range-inputs {
  display: grid;
  grid-template-columns: 1fr 8px 1fr;
  gap: 12px;
  align-items: center;
}

.route-range-inputs span {
  color: var(--figma-dark-text);
  font-family: "Jersey 20", "Arial Rounded MT Bold", sans-serif;
  font-size: 18.4px;
  line-height: 27.6px;
  text-align: center;
}

.route-range-field input {
  height: 52px;
  padding: 0 13px;
}

.difficulty-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.difficulty-options label {
  display: block;
}

.difficulty-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.difficulty-options span {
  display: grid;
  height: 40px;
  place-items: center;
  border: 1.54px solid rgba(180, 124, 87, 0.3);
  border-radius: 4px;
  color: var(--figma-dark-text);
  background: var(--figma-white);
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 14.3px;
  font-weight: 700;
  line-height: 20.4px;
  letter-spacing: -0.1536px;
}

.difficulty-options input:checked + span {
  border-color: var(--figma-brown);
  background: var(--figma-human-card-bg);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.create-route-submit {
  flex: 0 0 auto;
  width: 100%;
  height: 61px;
  margin-top: 7px;
  border-radius: 4px;
  color: var(--figma-white);
  background: #72bc56;
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 18.4px;
  font-weight: 500;
  line-height: 28.6px;
  letter-spacing: -0.4488px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.create-route-submit:active {
  transform: translateY(2px);
}

.literature-screen {
  padding: 0 16px 28px;
  overflow-y: auto;
  background: var(--figma-card-bg);
}

.literature-screen::before {
  content: none;
}

.literature-header {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  width: 402px;
  margin-left: -16px;
  padding-top: 22px;
  padding-bottom: 10px;
  background: var(--figma-card-bg);
}

.literature-title-block {
  width: 137px;
  text-align: center;
  color: var(--figma-dark-text);
}

.literature-title-block h1 {
  margin: 1px 0 0;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 1.8955px;
}

.literature-title-block p {
  margin: -2px 0 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1504px;
  white-space: nowrap;
}

.literature-filter-tabs {
  position: sticky;
  top: 77px;
  z-index: 7;
  display: flex;
  gap: 8px;
  width: 306px;
  height: 40px;
  margin-top: 5px;
  margin-bottom: 30px;
  padding-top: 1px;
  background: var(--figma-card-bg);
}

.literature-filter-tabs button {
  width: 68px;
  height: 35px;
  border-radius: 2px;
  color: var(--figma-brown);
  background: var(--figma-white);
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.1504px;
  text-align: center;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.literature-filter-tabs button.is-active {
  width: 72px;
  height: 37px;
  color: var(--figma-white);
  background: var(--figma-button);
}

.literature-route-list {
  display: grid;
  gap: 16px;
  width: 370px;
}

.literature-route-card {
  display: flex;
  flex-direction: column;
  width: 370px;
  min-height: 316px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--figma-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.literature-route-card[hidden] {
  display: none;
}

.literature-route-card.is-locked {
  background: #e5e7eb;
}

.literature-route-image {
  position: relative;
  height: 192px;
  overflow: hidden;
  background: var(--figma-brown);
}

.literature-route-image > img:first-child {
  width: 100%;
  height: 265px;
  display: block;
  object-fit: cover;
  object-position: center 35%;
}

.route-chevron {
  position: absolute;
  top: 19px;
  right: 10px;
  width: 20px;
  height: 24px;
  object-fit: contain;
}

.difficulty-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  min-width: 62px;
  height: 30px;
  place-items: center;
  padding: 5px 12px;
  border-radius: 4px;
  color: var(--figma-dark-text);
  background: var(--figma-card-bg);
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.1504px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
}

.difficulty-badge.is-medium {
  background: #fff1fc;
  text-transform: none;
}

.difficulty-badge.is-hard {
  background: var(--figma-human-card-bg);
}

.difficulty-badge.is-nature {
  background: var(--figma-human-card-bg);
}

.literature-route-body {
  display: flex;
  height: 124px;
  flex-direction: column;
  gap: 9px;
  padding: 13px 16px 14px;
  background: inherit;
}

.literature-route-body h2 {
  height: 28px;
  margin: 0;
  overflow: hidden;
  color: var(--figma-dark-text);
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  white-space: nowrap;
}

.literature-route-card--polyu .literature-route-image > img:first-child {
  object-position: center 34%;
}

.literature-route-card--polyu .literature-route-body h2 {
  font-size: 24px;
}

.literature-route-card--polyu .literature-route-body p {
  font-family: "Jersey 20", "IBM Plex Sans", system-ui, sans-serif;
  font-size: 12px;
}

.literature-route-body p {
  height: 20px;
  margin: 0;
  color: var(--figma-brown);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 12px;
  letter-spacing: -0.1504px;
}

.literature-route-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  color: var(--figma-brown);
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 10px;
  line-height: 1;
  text-align: right;
}

.literature-route-meta img {
  width: 24px;
  height: 25px;
}

.literature-route-meta strong {
  color: var(--figma-card-bg);
  font-weight: 400;
}

.locked-route-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2px;
  color: #e5e7eb;
  background: rgba(0, 0, 0, 0.5);
  font-family: "Jersey 20", "Arial Rounded MT Bold", sans-serif;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.4395px;
}

.locked-route-overlay img {
  width: 48px;
  height: 48px;
}

.literature-route-card:active:not(.is-locked) {
  transform: translateY(2px);
}

.recommendation-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.recommendation-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.72)),
    rgba(255, 245, 238, 0.08);
  backdrop-filter: blur(1px);
}

.recommendation-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.recommendation-panel {
  position: relative;
  width: 326px;
  min-height: 443px;
  padding: 45px 16px 19px;
  border-radius: 8px;
  color: var(--figma-dark-text);
  background: var(--figma-card-bg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.recommendation-bot {
  position: absolute;
  top: -48px;
  left: -4px;
  width: 96px;
  height: 112px;
  object-fit: contain;
  image-rendering: pixelated;
}

.recommendation-close {
  position: absolute;
  top: 14px;
  right: 15px;
  width: 34px;
  height: 34px;
  color: var(--figma-dark-text);
  background: transparent;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 58px;
  line-height: 28px;
}

.recommendation-heading {
  margin-left: 52px;
}

.recommendation-heading h1 {
  margin: 0;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 1.8955px;
}

.recommendation-heading p {
  margin: -4px 0 0;
  color: var(--figma-brown);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}

.weather-summary {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 32px 0 17px;
  color: var(--figma-brown);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 29px;
}

.weather-summary span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.weather-summary em {
  font-style: normal;
}

.weather-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 400;
}

.weather-icon.is-temp {
  background: #ffc384;
}

.weather-icon.is-rain {
  background: #65b8f2;
}

.weather-icon.is-cloud {
  background: #b47c57;
}

.recommendation-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--figma-white);
  box-shadow: 0 8px 18px rgba(73, 45, 29, 0.17);
}

.recommendation-image {
  position: relative;
  height: 128px;
  overflow: hidden;
}

.recommendation-image img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
  object-position: center 35%;
}

.recommendation-image span {
  position: absolute;
  top: 18px;
  left: 8px;
  display: grid;
  width: 50px;
  height: 42px;
  place-items: center;
  border-radius: 4px;
  color: var(--figma-dark-text);
  background: var(--figma-card-bg);
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.1504px;
}

.recommendation-copy {
  padding: 18px 11px 11px;
}

.recommendation-copy h2 {
  margin: 0 0 9px;
  color: var(--figma-dark-text);
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 30px;
}

.recommendation-copy p {
  margin: 0 0 16px;
  color: var(--figma-brown);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.recommendation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.recommendation-actions button {
  min-height: 40px;
  border-radius: 4px;
  font-family: "Jersey 20", "Arial Rounded MT Bold", sans-serif;
  font-size: 20px;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.recommendation-secondary {
  border: 2px solid var(--figma-dark-text);
  color: var(--figma-dark-text);
  background: var(--figma-white);
}

.recommendation-primary {
  color: var(--figma-card-bg);
  background: #72bc56;
  box-shadow: 0 2px 5px rgba(61, 91, 44, 0.2);
}

.recommendation-note {
  margin: 12px 24px 0;
  color: var(--figma-brown);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
}

.route-detail-overlay {
  position: absolute;
  inset: 0;
  z-index: 45;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 20px;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.route-detail-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.route-detail-card {
  position: relative;
  width: 100%;
  max-width: 402px;
  height: 589px;
  max-height: calc(100% - 18px);
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  color: var(--figma-dark-text);
  background: var(--figma-white);
  box-shadow: 0 -16px 36px rgba(41, 24, 14, 0.32);
  transform: translateY(28px);
  transition: transform 220ms ease;
}

.route-detail-overlay.is-visible .route-detail-card {
  transform: translateY(0);
}

.route-detail-hero {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #bde8f1;
}

.route-detail-hero > img {
  width: 100%;
  height: 286px;
  display: block;
  object-fit: cover;
  object-position: center 31%;
}

.route-detail-overlay[data-route="pak"] .route-detail-hero > img {
  object-position: center 44%;
}

.route-detail-overlay[data-route="hung"] .route-detail-hero > img {
  object-position: center 42%;
}

.route-detail-overlay[data-route="tao"] .route-detail-hero > img {
  object-position: center 47%;
}

.route-detail-overlay[data-route="hku"] .route-detail-hero > img {
  object-position: center 41%;
}

.route-detail-overlay[data-route="polyu"] .route-detail-hero > img {
  height: 240px;
  object-position: center top;
}

.route-detail-overlay[data-route="st-stephen"] .route-detail-hero > img {
  object-position: center 45%;
}

.route-detail-overlay[data-route="repulse"] .route-detail-hero > img {
  object-position: center 46%;
}

.route-detail-overlay[data-route="confucian"] .route-detail-hero > img {
  object-position: center 45%;
}

.route-detail-badge {
  position: absolute;
  top: 13px;
  left: 20px;
  display: grid;
  width: 76px;
  height: 62px;
  place-items: center;
  border-radius: 4px;
  color: var(--figma-dark-text);
  background: var(--figma-human-card-bg);
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 27px;
  letter-spacing: -0.24px;
}

.route-detail-overlay[data-route="hung"] .route-detail-badge,
.route-detail-overlay[data-route="tao"] .route-detail-badge,
.route-detail-overlay[data-route="polyu"] .route-detail-badge,
.route-detail-overlay[data-route="repulse"] .route-detail-badge {
  top: 13px;
  width: auto;
  min-width: 62px;
  height: 30px;
  padding: 0 12px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

.route-detail-close {
  position: absolute;
  top: 13px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: transparent;
}

.route-detail-close span {
  position: absolute;
  top: 18px;
  left: 2px;
  width: 40px;
  height: 7px;
  border-radius: 2px;
  background: var(--figma-dark-text);
  transform: rotate(45deg);
}

.route-detail-close span + span {
  transform: rotate(-45deg);
}

.route-detail-body {
  position: absolute;
  top: 156px;
  left: 0;
  width: 100%;
  height: 433px;
  padding: 17px 27px 0;
  border-radius: 4px 4px 0 0;
  background: var(--figma-white);
}

.route-detail-body h1 {
  margin: 0 0 8px;
  color: var(--figma-dark-text);
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 43px;
  letter-spacing: 0;
}

.route-detail-overlay[data-route="pak"] .route-detail-body h1 {
  font-size: 28px;
  line-height: 36px;
}

.route-detail-overlay[data-route="hung"] .route-detail-body h1 {
  font-size: 30px;
  line-height: 36px;
}

.route-detail-overlay[data-route="hku"] .route-detail-body h1 {
  font-size: 27px;
  line-height: 36px;
}

.route-detail-overlay[data-route="polyu"] .route-detail-body h1 {
  margin-bottom: 9px;
  font-size: 24px;
  line-height: 36px;
}

.route-detail-overlay[data-route="st-stephen"] .route-detail-body h1 {
  font-size: 30px;
  line-height: 36px;
}

.route-detail-overlay[data-route="confucian"] .route-detail-body h1 {
  font-size: 34px;
  line-height: 40px;
}

.route-detail-overlay[data-route="hku"] .route-detail-location {
  font-size: 13px;
}

.route-detail-overlay[data-route="polyu"] .route-detail-location {
  margin-bottom: 18px;
  font-size: 14px;
}

.route-detail-overlay[data-route="polyu"] .route-stats {
  min-height: 82px;
  margin-bottom: 16px;
}

.route-detail-overlay[data-route="polyu"] .route-stats p,
.route-detail-overlay[data-route="polyu"] .route-stats strong {
  color: var(--figma-brown);
}

.route-detail-overlay[data-route="polyu"] .route-reward-title {
  margin-bottom: 22px;
}

.route-detail-location {
  position: relative;
  margin: 0 0 22px 28px;
  color: var(--figma-brown);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

.route-detail-location::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -28px;
  width: 16px;
  height: 20px;
  background:
    radial-gradient(circle at 50% 35%, var(--figma-white) 0 3px, transparent 4px),
    var(--figma-brown);
  clip-path: polygon(50% 100%, 18% 54%, 14% 28%, 27% 8%, 50% 0, 73% 8%, 86% 28%, 82% 54%);
}

.route-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 81px;
  margin-bottom: 28px;
  border: 2px solid var(--figma-brown);
  border-radius: 4px;
  background: var(--figma-white);
}

.route-stats > div {
  position: relative;
  display: grid;
  grid-template-columns: 47px minmax(0, 1fr);
  grid-template-rows: 28px 30px;
  column-gap: 8px;
  align-items: center;
  padding: 12px 5px 9px 12px;
}

.route-stats > div + div {
  border-left: 2px solid var(--figma-brown);
}

.route-stat-icon {
  grid-row: 1 / 3;
  position: relative;
  display: block;
  width: 45px;
  height: 45px;
  align-self: center;
  justify-self: start;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  image-rendering: pixelated;
}

.icon-clock {
  background-image: url("./route-icon-time.png");
}

.icon-flag {
  background-image: url("./route-icon-length.png");
}

.route-stats p {
  margin: 0;
  min-width: 0;
  color: var(--figma-brown);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}

.route-stats strong {
  display: block;
  min-width: 0;
  color: var(--figma-dark-text);
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 27px;
  white-space: nowrap;
}

.route-stats small {
  font-size: 16px;
}

.route-reward-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-bottom: 27px;
}

.route-card-icon {
  position: relative;
  display: block;
  width: 21px;
  height: 23px;
  border-radius: 1px;
  background: var(--figma-brown);
}

.route-card-icon::before,
.route-card-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  height: 4px;
  background: var(--figma-white);
}

.route-card-icon::before {
  top: 5px;
}

.route-card-icon::after {
  bottom: 5px;
}

.route-reward-title p {
  margin: 0;
  color: var(--figma-dark-text);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 24px;
}

.route-reward-cards {
  position: relative;
  height: 170px;
  margin: 0 -3px;
}

.mini-reward-card {
  position: absolute;
  top: 0;
  width: 112px;
  min-height: 165px;
  padding: 13px 10px 9px;
  border: 2px solid #ffffff;
  color: var(--figma-dark-text);
  background: var(--figma-card-bg);
  box-shadow: 6px 6px 0 var(--figma-brown);
  text-align: center;
}

.mini-reward-card.is-left {
  left: 3px;
  top: 8px;
  transform: rotate(-9deg);
}

.mini-reward-card.is-center {
  left: 118px;
  top: -15px;
}

.mini-reward-card.is-right {
  right: 1px;
  top: 8px;
  background: var(--figma-human-card-bg);
  transform: rotate(9deg);
}

.route-detail-overlay[data-route="hung"] .mini-reward-card.is-center {
  background: #f1ffe3;
}

.route-detail-overlay[data-route="tao"] .mini-reward-card.is-right {
  background: #f1ffe3;
}

.route-detail-overlay[data-route="hku"] .mini-reward-card.is-center {
  background: var(--figma-human-card-bg);
}

.route-detail-overlay[data-route="hku"] .mini-reward-card.is-right {
  background: #f1ffe3;
}

.route-detail-overlay[data-route="st-stephen"] .mini-reward-card.is-center {
  background: var(--figma-human-card-bg);
}

.route-detail-overlay[data-route="st-stephen"] .mini-reward-card.is-right {
  background: #f1ffe3;
}

.route-detail-overlay[data-route="repulse"] .mini-reward-card.is-center {
  background: var(--figma-human-card-bg);
}

.route-detail-overlay[data-route="repulse"] .mini-reward-card.is-right {
  background: #f1ffe3;
}

.route-detail-overlay[data-route="confucian"] .mini-reward-card.is-center {
  background: var(--figma-human-card-bg);
}

.route-detail-overlay[data-route="confucian"] .mini-reward-card.is-right {
  background: #f1ffe3;
}

.mini-reward-card span {
  display: block;
  margin-bottom: 8px;
  font-family: "Jersey 20", "Arial Rounded MT Bold", sans-serif;
  font-size: 15px;
  line-height: 15px;
}

.mini-reward-card img {
  width: 90px;
  height: 90px;
  display: block;
  margin: 0 auto 6px;
  border: 1px solid var(--figma-brown);
  object-fit: cover;
}

.mini-reward-card h2 {
  margin: 0;
  overflow: hidden;
  color: var(--figma-dark-text);
  font-family: "Jersey 20", "Arial Rounded MT Bold", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-reward-card p {
  margin: 2px 0 5px;
  color: #fec409;
  font-size: 16px;
  line-height: 16px;
  text-shadow:
    1px 0 var(--figma-dark-text),
    -1px 0 var(--figma-dark-text),
    0 1px var(--figma-dark-text),
    0 -1px var(--figma-dark-text);
}

.mini-reward-card button {
  width: 86px;
  height: 22px;
  border-radius: 3px;
  color: var(--figma-brown);
  background: var(--figma-white);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
  box-shadow: 0 2px 4px rgba(98, 66, 46, 0.2);
}

.route-detail-fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(252, 254, 254, 0), rgba(252, 254, 254, 0.96) 54%, var(--figma-white) 100%);
}

.lets-walk-button {
  position: absolute;
  z-index: 5;
  right: 56px;
  bottom: 26px;
  left: 56px;
  height: 60px;
  border-radius: 4px;
  color: var(--figma-white);
  background: #72bc56;
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 23px;
  letter-spacing: -0.1504px;
  box-shadow: 0 3px 0 rgba(64, 94, 45, 0.22);
}

.route-walk-screen {
  overflow: hidden;
  background: var(--figma-white);
}

.route-walk-map {
  position: relative;
  height: 524px;
  overflow: hidden;
  background: #597748;
}

.route-walk-map > img {
  position: absolute;
  top: -19px;
  left: -6px;
  width: 409px;
  height: 548px;
  object-fit: cover;
  display: block;
}

.route-walk-map[data-route="hung"] {
  background: #4f7a3f;
}

.route-walk-map[data-route="hung"] > img {
  top: -75px;
  left: -3px;
  width: 408px;
  height: 612px;
  opacity: 1;
  filter: none;
}

.route-walk-map[data-route="tao"] {
  background: #58773d;
}

.route-walk-map[data-route="tao"] > img {
  top: -27px;
  left: 0;
  width: 402px;
  height: 603px;
  opacity: 1;
  filter: none;
}

.route-walk-map[data-route="pak"] {
  background: #4f8fa7;
}

.route-walk-map[data-route="pak"] > img {
  top: -53px;
  left: -7px;
  width: 409px;
  height: 614px;
  opacity: 1;
  filter: none;
}

.route-photo-point {
  position: absolute;
  z-index: 2;
  width: 33px;
  height: 29px;
  padding: 0;
  border: 3px solid var(--figma-white);
  background: var(--figma-white);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.22);
}

.route-photo-point img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.route-photo-point.is-point-one {
  left: 48px;
  top: 381px;
}

.route-photo-point.is-point-two {
  left: 141px;
  top: 318px;
}

.route-photo-point.is-point-three {
  left: 216px;
  top: 248px;
}

.route-photo-point.is-point-four {
  left: 290px;
  top: 177px;
}

.route-photo-point.is-point-five {
  left: 336px;
  top: 112px;
}

.route-photo-point.is-point-six {
  left: 280px;
  top: 64px;
}

.route-photo-point.is-point-seven {
  left: 214px;
  top: 34px;
}

.route-photo-point.is-point-eight {
  left: 145px;
  top: 48px;
}

.route-walk-map[data-route="hung"] .route-photo-point.is-point-one {
  left: 100px;
  top: 17px;
  width: 50px;
  height: 39px;
}

.route-walk-map[data-route="hung"] .route-photo-point.is-point-two {
  left: 149px;
  top: 225px;
  width: 49px;
  height: 42px;
}

.route-walk-map[data-route="hung"] .route-photo-point.is-point-three {
  left: 217px;
  top: 350px;
  width: 50px;
  height: 33px;
}

.route-walk-map[data-route="hung"] .route-photo-point.is-point-four {
  left: 217px;
  top: 412px;
  width: 49px;
  height: 34px;
}

.route-walk-map[data-route="hung"] .route-photo-point {
  border: 3px solid #fcfefe;
  box-shadow: 0 2px 4px rgba(45, 60, 37, 0.22);
}

.route-walk-map[data-route="hung"] .route-photo-point::after {
  content: "";
  position: absolute;
  right: -25px;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffdf2d;
  box-shadow: 0 0 0 2px rgba(255, 231, 66, 0.44), 2px 2px 0 rgba(98, 66, 46, 0.18);
}

.route-walk-map[data-route="hung"] .route-photo-point::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: -15px;
  top: 17px;
  width: 11px;
  height: 10px;
  background: #3a3822;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 35% 62%, 35% 100%, 0 100%);
}

.route-walk-map[data-route="tao"] .route-photo-point {
  border: 3px solid #fcfefe;
  box-shadow: 0 2px 4px rgba(45, 60, 37, 0.22);
}

.route-walk-map[data-route="tao"] .route-photo-point.is-point-one {
  left: 156px;
  top: 376px;
  width: 47px;
  height: 43px;
}

.route-walk-map[data-route="tao"] .route-photo-point.is-point-two {
  left: 199px;
  top: 258px;
  width: 33px;
  height: 32px;
}

.route-walk-map[data-route="tao"] .route-photo-point.is-point-three {
  left: 240px;
  top: 369px;
  width: 40px;
  height: 35px;
}

.route-walk-map[data-route="pak"] .route-photo-point {
  border: 3px solid #fcfefe;
  box-shadow: 0 2px 4px rgba(31, 74, 92, 0.22);
}

.route-walk-map[data-route="pak"] .route-photo-point.is-point-one {
  left: 248px;
  top: 14px;
  width: 30px;
  height: 29px;
}

.route-walk-map[data-route="pak"] .route-photo-point.is-point-two {
  left: 232px;
  top: 116px;
  width: 37px;
  height: 36px;
}

.route-walk-map[data-route="pak"] .route-photo-point.is-point-three {
  left: 207px;
  top: 232px;
  width: 41px;
  height: 37px;
}

.route-walk-map[data-route="pak"] .route-photo-point.is-point-four {
  left: 168px;
  top: 333px;
  width: 40px;
  height: 36px;
}

.route-walk-map[data-route="pak"] .route-photo-point.is-point-five {
  left: 183px;
  top: 424px;
  width: 46px;
  height: 42px;
}

.route-photo-point:active {
  transform: translateY(2px) scale(0.98);
}

.route-walk-back {
  position: absolute;
  top: 14px;
  left: 17px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.15);
}

.route-walk-back img {
  width: 39px;
  height: 39px;
  display: block;
}

.route-walk-back:active {
  transform: translateY(2px);
}

.route-walk-distance {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  width: 103px;
  height: 68px;
  flex-direction: column;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.15);
}

.route-walk-distance span {
  color: var(--figma-brown);
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
}

.route-walk-distance strong {
  color: var(--figma-dark-text);
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.5508px;
}

.route-walk-map[data-route="hung"] .route-walk-distance {
  top: 16px;
  right: 14px;
  width: 103px;
  height: 68px;
  padding: 10px 20px;
}

.route-walk-map[data-route="hung"] .route-walk-distance span {
  color: var(--figma-brown);
  font-size: 12px;
}

.route-walk-map[data-route="hung"] .route-walk-distance strong {
  font-size: 20px;
  line-height: 28px;
}

.route-walk-name {
  position: absolute;
  left: 136px;
  bottom: 16px;
  min-width: 130px;
  height: 36px;
  margin: 0;
  padding: 8px 13px;
  border-radius: 4px;
  color: var(--figma-dark-text);
  background: rgba(255, 255, 255, 0.95);
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.1504px;
  text-align: center;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  border: 0;
}

.route-walk-map[data-route="hung"] .route-walk-name {
  left: 138px;
  bottom: 16px;
  min-width: 130px;
  height: 36px;
  padding: 8px 14px;
  font-size: 14px;
}

.route-walk-map[data-route="pak"] .route-walk-name {
  left: 136px;
  bottom: 16px;
  min-width: 130px;
  height: 36px;
  padding: 8px 8px;
  color: var(--figma-dark-text);
  font-size: 13px;
}

.route-walk-name.is-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.route-walk-name.is-cta img {
  width: 16px;
  height: 16px;
  display: block;
}

.route-walk-collection {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 350px;
  background: linear-gradient(180deg, var(--figma-card-bg) 0%, #f9fafb 100%);
}

.route-walk-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 53px;
  border-bottom: 1px solid #e5e7eb;
}

.route-walk-tabs button {
  color: #99a1af;
  background: transparent;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.3125px;
}

.route-walk-tabs button.is-active {
  border-bottom: 4px solid var(--figma-button);
  color: var(--figma-brown);
}

.route-walk-panel[hidden] {
  display: none;
}

.route-unlock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
}

.unlock-card {
  position: relative;
  display: flex;
  min-height: 164px;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border-radius: 4px;
  background: var(--figma-white);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.unlock-card.is-locked {
  opacity: 0.6;
}

.unlock-image {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 4px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.unlock-image.is-gold {
  background: linear-gradient(180deg, #ffd54f 0%, #ffca28 100%);
}

.unlock-image.is-muted {
  background: #e5e7eb;
}

.unlock-image img {
  max-width: 58px;
  max-height: 57px;
  display: block;
  object-fit: contain;
}

.unlock-card h2 {
  margin: 8px 0 0;
  color: var(--figma-dark-text);
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.1504px;
  text-align: center;
  white-space: nowrap;
}

.unlock-card p {
  margin: 0;
  color: var(--figma-brown);
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  white-space: nowrap;
}

.unlock-card strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 1px;
  color: #7cb342;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.unlock-card strong span {
  display: grid;
  width: 12px;
  height: 12px;
  place-items: center;
  border: 1px solid #7cb342;
  border-radius: 50%;
  font-size: 8px;
  line-height: 1;
}

.unlock-lock {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 14px;
  height: 11px;
  border: 2px solid #99a1af;
  border-radius: 2px;
}

.unlock-lock::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -9px;
  width: 7px;
  height: 8px;
  border: 2px solid #99a1af;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.checkpoint-screen {
  overflow: hidden;
  background: var(--figma-white);
}

.checkpoint-hero {
  position: relative;
  height: 524px;
  overflow: hidden;
  background: #293421;
}

.checkpoint-hero > img {
  position: absolute;
  top: -72px;
  left: -80px;
  width: 534px;
  height: 632px;
  object-fit: cover;
  display: block;
}

.checkpoint-screen[data-checkpoint="route-two"] .checkpoint-hero > img {
  top: -18px;
  left: 0;
  width: 402px;
  height: 542px;
}

.checkpoint-screen[data-checkpoint="route-three"] .checkpoint-hero > img {
  top: 0;
  left: -1px;
  width: 404px;
  height: 524px;
}

.checkpoint-screen[data-checkpoint="route-four"] .checkpoint-hero > img {
  top: -103px;
  left: -8px;
  width: 417px;
  height: 627px;
}

.checkpoint-screen[data-checkpoint="route-five"] .checkpoint-hero > img {
  top: -29px;
  left: -48px;
  width: 553px;
  height: 553px;
}

.checkpoint-screen[data-checkpoint="route-six"] .checkpoint-hero > img {
  top: -13px;
  left: -82px;
  width: 537px;
  height: 537px;
}

.checkpoint-screen[data-checkpoint="route-seven"] .checkpoint-hero > img {
  top: -3px;
  left: -6px;
  width: 413px;
  height: 527px;
}

.checkpoint-screen[data-checkpoint="route-eight"] .checkpoint-hero > img {
  top: -22px;
  left: -44px;
  width: 547px;
  height: 547px;
}

.checkpoint-screen[data-checkpoint="hung-one"] .checkpoint-hero > img,
.checkpoint-screen[data-checkpoint="hung-two"] .checkpoint-hero > img,
.checkpoint-screen[data-checkpoint="hung-three"] .checkpoint-hero > img,
.checkpoint-screen[data-checkpoint="hung-four"] .checkpoint-hero > img {
  top: 0;
  left: 0;
  width: 402px;
  height: 524px;
  object-position: center;
}

.checkpoint-screen[data-checkpoint="hung-four"] .checkpoint-hero > img {
  top: -19px;
  left: -280px;
  width: 935px;
  height: 562px;
}

.checkpoint-screen[data-checkpoint="hung-two"] .checkpoint-hero > img {
  top: -22px;
  left: -152px;
  width: 626px;
  height: 546px;
}

.checkpoint-screen[data-checkpoint="hung-three"] .checkpoint-hero > img {
  top: 0;
  left: -192px;
  width: 786px;
  height: 524px;
  object-position: center;
}

.checkpoint-screen[data-checkpoint="tao-three"] .checkpoint-hero > img {
  top: 0;
  left: 0;
  width: 402px;
  height: 524px;
  object-fit: cover;
  object-position: center;
}

.checkpoint-screen[data-checkpoint="tao-two"] .checkpoint-hero > img {
  top: -33px;
  left: 0;
  width: 403px;
  height: 612px;
  object-fit: cover;
  object-position: center;
}

.checkpoint-screen[data-checkpoint="pak-one"] .checkpoint-hero > img,
.checkpoint-screen[data-checkpoint="pak-two"] .checkpoint-hero > img,
.checkpoint-screen[data-checkpoint="pak-three"] .checkpoint-hero > img,
.checkpoint-screen[data-checkpoint="pak-four"] .checkpoint-hero > img,
.checkpoint-screen[data-checkpoint="pak-five"] .checkpoint-hero > img {
  top: 0;
  left: 0;
  width: 402px;
  height: 524px;
  object-fit: cover;
  object-position: center;
}

.checkpoint-screen[data-checkpoint="tao-one"] .checkpoint-hero > img {
  top: -4px;
  left: -181px;
  width: 704px;
  height: 528px;
  object-fit: cover;
  object-position: center;
}

.checkpoint-arrived-button {
  position: absolute;
  left: 136px;
  bottom: 16px;
  display: flex;
  min-width: 130px;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 4px;
  color: var(--figma-dark-text);
  background: rgba(255, 255, 255, 0.95);
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.1504px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkpoint-arrived-button img {
  width: 16px;
  height: 16px;
  display: block;
}

.checkpoint-arrived-button:active {
  transform: translateY(2px);
}

.checkpoint-collection {
  height: 350px;
}

.checkpoint-collection .unlock-card.is-completed {
  border-color: #72bc56;
  box-shadow: 6px 6px 0 rgba(114, 188, 86, 0.45);
}

.camera-checkin-screen {
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 245, 238, 0.5), rgba(255, 245, 238, 0.5)),
    url("./camera-album-bg.png") center / cover no-repeat,
    #fff5ee;
  color: var(--figma-dark-text);
}

.camera-floating-back {
  position: absolute;
  top: 11px;
  left: 17px;
  z-index: 3;
  width: 47px;
  height: 47px;
  padding: 0;
  border: 0;
  background: transparent;
}

.camera-floating-back img {
  width: 100%;
  height: 100%;
  display: block;
}

.camera-device {
  position: absolute;
  top: 135px;
  left: 50%;
  width: 354px;
  height: 530px;
  transform: translateX(-50%);
  border-radius: 13px;
  background: #fff5ee;
  box-shadow: 0 8.838px 8.838px rgba(0, 0, 0, 0.4);
}

.camera-device-border {
  position: absolute;
  inset: 9px;
  border: 3px solid #8b6f47;
  border-radius: 9px;
  pointer-events: none;
}

.camera-body {
  position: absolute;
  inset: 18px;
  overflow: hidden;
  border-radius: 7px;
  background: #2a2a2a;
  box-shadow:
    inset 0 2.21px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2.21px 4.419px rgba(0, 0, 0, 0.2);
}

.camera-topbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 100%;
  height: 49px;
  border-bottom: 2px solid #8b6f47;
  background: #c9a875;
}

.camera-color-bars {
  position: absolute;
  top: 12px;
  left: 13px;
  display: flex;
  gap: 2px;
  height: 22px;
}

.camera-color-bars span {
  width: 4px;
  height: 22px;
  border-radius: 1px;
}

.camera-color-bars span:nth-child(1) { background: #ff6b6b; }
.camera-color-bars span:nth-child(2) { background: #4ecdc4; }
.camera-color-bars span:nth-child(3) { background: #45b7d1; }
.camera-color-bars span:nth-child(4) { background: #f9ca24; }
.camera-color-bars span:nth-child(5) { background: #6ab04c; }

.camera-again-button {
  position: absolute;
  top: 13px;
  right: 13px;
  display: none;
  min-width: 44px;
  height: 26px;
  padding: 0 6px 2px;
  border: 0;
  border-radius: 3px;
  color: #e8d4b8;
  font-family: "Jersey 20", "Jersey 25", sans-serif;
  font-size: 18px;
  line-height: 20px;
  background: #8b6f47;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.camera-checkin-screen.is-captured .camera-topbar .camera-again-button {
  display: block;
}

.camera-result-view .camera-again-button.is-inline {
  display: none;
}

.camera-live-view,
.camera-result-view {
  position: absolute;
  inset: 49px 0 0;
}

.camera-result-view {
  display: none;
  background: #e8d4b8;
}

.camera-checkin-screen.is-captured .camera-body {
  background: #e8d4b8;
}

.camera-checkin-screen.is-captured .camera-live-view {
  display: none;
}

.camera-checkin-screen.is-captured .camera-result-view {
  display: block;
}

.camera-frame {
  position: absolute;
  left: 17px;
  top: 14px;
  width: 283px;
  height: 337px;
  overflow: hidden;
  border: 3px solid #4a3428;
  border-radius: 4px;
  background: #000;
}

.camera-frame video,
.camera-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.camera-empty-state {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
  color: var(--figma-white);
  text-align: center;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.8);
}

.camera-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  opacity: 0.5;
  pointer-events: none;
}

.camera-corner.is-top-left {
  top: 9px;
  left: 9px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.camera-corner.is-top-right {
  top: 9px;
  right: 9px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.camera-corner.is-bottom-left {
  bottom: 9px;
  left: 9px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
}

.camera-corner.is-bottom-right {
  right: 9px;
  bottom: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.camera-photo-label {
  position: absolute;
  left: 13px;
  bottom: 12px;
  width: calc(100% - 26px);
  height: 20px;
  padding: 0 9px;
  overflow: hidden;
  border-radius: 2px;
  color: #fff;
  font-family: "Jersey 20", "Jersey 25", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.1504px;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #62422e;
}

.camera-status-card {
  position: absolute;
  left: 17px;
  right: 17px;
  top: 356px;
  z-index: 3;
  min-height: 22px;
  padding: 4px 10px;
  border: 2px solid #4a3428;
  border-radius: 4px;
  color: #fff5ee;
  background: rgba(74, 52, 40, 0.92);
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease, border-color 160ms ease;
  box-shadow: 0 4px 0 rgba(74, 52, 40, 0.28);
}

.camera-status-card.is-alert {
  border-color: #fcbd80;
  color: #62422e;
  background: rgba(255, 245, 238, 0.96);
  box-shadow: 0 5px 0 rgba(74, 52, 40, 0.24), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.camera-status-card.is-ready {
  border-color: #72bc56;
  color: #fff5ee;
  background: rgba(74, 52, 40, 0.92);
}

.camera-status-card.is-floating {
  animation: camera-toast-float 280ms ease-out;
}

.camera-status-card p {
  margin: 0;
  color: inherit;
  font-family: "Jersey 20", "Jersey 25", sans-serif;
  font-size: 12px;
  line-height: 13px;
}

.camera-status-card strong {
  display: block;
  margin-top: 2px;
  color: #fcbd80;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  line-height: 12px;
}

.camera-status-card.is-alert strong {
  color: #b47c57;
}

@keyframes camera-toast-float {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.camera-actions {
  position: absolute;
  left: 35px;
  right: 35px;
  bottom: 18px;
  height: 67px;
}

.camera-secondary-button {
  position: absolute;
  left: 0;
  top: 11px;
  display: grid;
  grid-template-columns: repeat(2, 9px);
  gap: 3px;
  place-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 7px;
  background: #6b5d52;
  box-shadow: 0 3px 0 #4a3428, inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.camera-secondary-button span {
  width: 9px;
  height: 9px;
  border-radius: 1px;
}

.camera-secondary-button span:nth-child(1) { background: #ff6b6b; }
.camera-secondary-button span:nth-child(2) { background: #4ecdc4; }
.camera-secondary-button span:nth-child(3) { background: #f9ca24; }
.camera-secondary-button span:nth-child(4) { background: #6ab04c; }

.camera-primary-button {
  position: absolute;
  left: 50%;
  top: 0;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #ff4444;
  transform: translateX(-50%);
  box-shadow: 0 4px 0 #990000, 0 0 13px rgba(255, 68, 68, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.camera-primary-button span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.camera-album-button {
  position: absolute;
  top: 11px;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #6b5d52;
  box-shadow: 0 3px 0 #4a3428, inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.camera-album-button::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 3px solid #e8d4b8;
  border-radius: 2px;
  background: #d1d5dc;
}

.camera-album-button span {
  position: absolute;
  right: 2px;
  bottom: 2px;
  min-width: 18px;
  height: 14px;
  border-radius: 2px;
  color: #fff;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 14px;
  background: #ff4444;
}

.camera-primary-button:disabled {
  opacity: 0.58;
  cursor: wait;
}

.camera-result-view h1 {
  position: absolute;
  top: 32px;
  left: 0;
  width: 100%;
  margin: 0;
  color: #4a3428;
  font-family: "Jersey 25", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  text-align: center;
  letter-spacing: 1.8955px;
}

.camera-result-view > p {
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  margin: 0;
  color: #6b5d52;
  font-family: "Jersey 20", "Jersey 25", sans-serif;
  font-size: 18px;
  line-height: 20px;
  text-align: center;
}

.camera-polaroid {
  position: absolute;
  top: 121px;
  left: 27px;
  width: 265px;
  height: 265px;
  margin: 0;
  padding: 9px;
  background: #fff;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
}

.camera-polaroid-photo {
  position: relative;
  width: 100%;
  height: 247px;
  overflow: hidden;
  background: #e5e7eb;
}

.camera-polaroid-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.camera-polaroid-photo strong {
  position: absolute;
  left: 9px;
  bottom: 9px;
  width: calc(100% - 18px);
  height: 20px;
  padding: 0 9px;
  overflow: hidden;
  border-radius: 2px;
  color: #fff;
  font-family: "Jersey 20", "Jersey 25", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.1504px;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #62422e;
}

.camera-result-pet {
  position: absolute;
  right: -47px;
  bottom: -16px;
  width: 94px;
  height: 94px;
  object-fit: contain;
}

.camera-result-cloud {
  position: absolute;
  right: -57px;
  bottom: 50px;
  width: 70px;
  height: 47px;
  object-fit: cover;
  object-position: 50% 0;
  transform: rotate(16deg);
}

.camera-location-row {
  position: absolute;
  left: 26px;
  top: 400px;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 265px;
  color: #4a3428;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.camera-location-row span {
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 2px;
  background: #72bc56;
}

.camera-location-row span::after {
  content: "";
  width: 7px;
  height: 9px;
  background: #fff5ee;
}

.camera-location-row p {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.camera-location-row strong {
  color: #6b5d52;
  font: inherit;
  white-space: nowrap;
}

.camera-done-button {
  position: absolute;
  left: 27px;
  bottom: 22px;
  width: 265px;
  height: 35px;
  border: 0;
  border-radius: 4px;
  color: #fcfefe;
  font-family: "Jersey 20", "Jersey 25", sans-serif;
  font-size: 18px;
  line-height: 20px;
  background: #72bc56;
  box-shadow: 0 3px 0 #d4a017, inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.reward-modal {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 28px 0;
  background: rgba(15, 20, 25, 0.74);
}

.reward-modal.is-visible {
  display: grid;
}

.reward-panel {
  position: relative;
  width: 300px;
  height: 498px;
  padding: 37px 24px 15px;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  color: var(--figma-dark-text);
  text-align: center;
  background: linear-gradient(180deg, #fff5ee 0%, #fff6f0 14%, #fff8f3 29%, #fff9f5 43%, #fffbf8 57%, #fffcfa 71%, #fffefd 86%, #ffffff 100%);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.reward-panel::before,
.reward-panel::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 8px;
}

.reward-panel::before {
  top: 0;
  background: linear-gradient(180deg, #fec409 0%, #feec6e 100%);
}

.reward-panel::after {
  bottom: 0;
  background: linear-gradient(90deg, #fcbd80 0%, #fcc17a 14%, #fdc76e 29%, #fece60 43%, #ffd54f 50%, #fece60 64%, #fdc76e 79%, #fcc17a 93%, #fcbd80 100%);
}

.reward-panel h1 {
  margin: 0;
  color: var(--figma-dark-text);
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 1.8955px;
  white-space: nowrap;
}

.reward-subtitle {
  margin: -1px 0 21px;
  color: var(--figma-brown);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
}

.reward-x-button {
  position: absolute;
  top: 18px;
  right: 8px;
  z-index: 2;
  width: 22px;
  height: 22px;
  color: var(--figma-dark-text);
  background: transparent;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 27px;
  line-height: 20px;
}

.reward-card-body {
  height: 283px;
  padding: 16px 24px 14px;
  border: 1.7px solid var(--figma-button);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.reward-item-frame {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  margin: 0 auto 13px;
  border-radius: 4px;
  background: var(--figma-card-bg);
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.12));
}

.reward-item-frame img {
  max-width: 130px;
  max-height: 118px;
  image-rendering: pixelated;
  object-fit: contain;
}

.reward-panel h2 {
  margin: 0 0 8px;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 22.5px;
}

.reward-card-body p {
  width: 201px;
  margin: 0 auto;
  color: var(--figma-brown);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 12px;
  letter-spacing: -0.1504px;
}

.reward-claim-button {
  width: 252px;
  height: 48px;
  margin-top: 18px;
  border-radius: 4px;
  color: var(--figma-white);
  background: #72bc56;
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.route-discussion-panel {
  position: relative;
  height: 297px;
  background: #f9fafb;
}

.discussion-thread {
  display: flex;
  height: 224px;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 16px;
  scroll-behavior: smooth;
}

.discussion-thread::-webkit-scrollbar {
  width: 0;
}

.discussion-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.discussion-message.is-me {
  justify-content: flex-end;
}

.discussion-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.discussion-avatar.is-blue {
  background: #4fc3f7;
}

.discussion-avatar.is-yellow {
  background: #ffd54f;
}

.discussion-avatar img {
  width: 26px;
  height: 23px;
  object-fit: contain;
  image-rendering: pixelated;
}

.discussion-bubble {
  width: 244px;
  min-height: 56px;
  padding: 8px 16px;
  border-radius: 4px;
  background: var(--figma-white);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.discussion-message.is-new {
  animation: discussionPop 180ms ease both;
}

.discussion-bubble.is-wide {
  width: 279px;
}

.discussion-bubble.is-orange {
  width: auto;
  min-height: 36px;
  padding: 8px 16px;
  color: var(--figma-white);
  background: var(--figma-button);
}

.discussion-bubble strong {
  display: block;
  margin-bottom: 4px;
  color: #4a5565;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.discussion-bubble p {
  margin: 0;
  color: var(--figma-brown);
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -0.1504px;
  white-space: normal;
}

.discussion-bubble.is-orange p {
  color: var(--figma-white);
}

.discussion-input-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 8px;
  align-items: center;
  height: 73px;
  padding: 16px;
  border-top: 1px solid #e5e7eb;
  background: var(--figma-white);
}

.discussion-input-bar input {
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 4px;
  color: var(--figma-dark-text);
  background: #f3f4f6;
  font-family: "Jersey 25", "Arial Rounded MT Bold", sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.1504px;
  outline: none;
  padding: 8px 16px;
}

.discussion-input-bar input::placeholder {
  color: rgba(10, 10, 10, 0.5);
}

.discussion-tool-button,
.discussion-send-button {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.discussion-tool-button {
  background: #f3f4f6;
}

.discussion-tool-button span {
  width: 17px;
  height: 17px;
  border: 3px solid #465064;
  border-radius: 50%;
}

.discussion-tool-button span::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 23px;
  width: 8px;
  height: 3px;
  background: #465064;
  transform: rotate(-42deg);
}

.discussion-send-button {
  background: var(--figma-button);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.15);
}

.discussion-send-button span {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 17px solid var(--figma-white);
  transform: rotate(-35deg);
}

@keyframes discussionPop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 520px) {
  .stage {
    border-radius: 22px;
  }
}
