.sim-host {
  --sim-scale: 1;
  --sim-progress: 0.35;
  position: relative;
  width: min(100%, var(--device-width, 300px));
  aspect-ratio: 300 / 610;
  flex: 0 0 auto;
  isolation: isolate;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.sim-host *,
.sim-host *::before,
.sim-host *::after {
  box-sizing: border-box;
}
.sim-host button,
.sim-host a {
  touch-action: manipulation;
}
.sim-host button {
  font: inherit;
  cursor: pointer;
}
.sim-host button:focus-visible,
.sim-host a:focus-visible {
  outline: 3px solid #875bb0;
  outline-offset: 4px;
}
.sim-host [hidden] {
  display: none !important;
}
.sim-host h3,
.sim-host h4,
.sim-host p {
  margin: 0;
}
.sim-host svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.sim-device {
  position: absolute;
  inset: 0 auto auto 0;
  width: 300px;
  height: 610px;
  padding: 7px;
  border: 1px solid #8a8b86;
  border-radius: 49px;
  background: linear-gradient(
    118deg,
    #93948e 0%,
    #31322f 13%,
    #666760 49%,
    #1c1c1a 73%,
    #787a72 100%
  );
  box-shadow:
    0 0 0 1px #242522,
    0 0 0 3px #d5d0c5,
    0 0 0 4px #8f9088,
    16px 28px 38px -19px #26232365,
    2px 7px 8px #27252012,
    inset 0 0 0 2px #242623;
  transform: scale(var(--sim-scale));
  transform-origin: top left;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 12px;
  color: #242522;
  letter-spacing: 0;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
.sim-hardware {
  position: absolute;
  left: -5px;
  width: 3px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(90deg, #696a63, #282924);
  box-shadow: inset 0 1px 1px #b4b4a7;
}
.sim-hardware-a {
  top: 101px;
  height: 22px;
}
.sim-hardware-b {
  top: 148px;
  height: 40px;
}
.sim-hardware-c {
  top: 201px;
  height: 40px;
}
.sim-viewport {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 41px;
  background: #e9e0dc;
  box-shadow: 0 0 0 1px #161815;
}
.sim-status {
  position: absolute;
  z-index: 8;
  top: 18px;
  left: 25px;
  right: 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #242522;
  pointer-events: none;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  transition: color 0.25s;
}
.sim-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sim-status-icons svg {
  width: 13px;
  height: 10px;
}
.sim-battery {
  position: relative;
  width: 20px;
  height: 10px;
  border: 1px solid currentColor;
  border-radius: 3px;
}
.sim-battery::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  background: currentColor;
  border-radius: 1px;
}
.sim-battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 1.5px;
  height: 4px;
  background: currentColor;
  border-radius: 0 1px 1px 0;
  opacity: 0.5;
}
.sim-island {
  position: absolute;
  z-index: 9;
  top: 11px;
  left: 50%;
  width: 83px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #080908;
  box-shadow: inset 0 -1px 2px #ffffff12;
  pointer-events: none;
}
.sim-island i {
  position: absolute;
  width: 7px;
  height: 7px;
  top: 9px;
  right: 11px;
  border: 1px solid #172125;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 45%, #24374c, #090c13 60%);
}
.sim-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  animation: sim-scene-in 0.32s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}
.sim-home-button {
  position: absolute;
  z-index: 12;
  bottom: 0;
  left: 50%;
  display: grid;
  width: 134px;
  height: 28px;
  place-items: center;
  transform: translateX(-50%);
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #242522;
}
.sim-home-button:disabled {
  cursor: default;
  opacity: 1;
}
.sim-home-button span {
  display: block;
  width: 90px;
  height: 4px;
  border-radius: 10px;
  background: currentColor;
}
.sim-home-button:hover:not(:disabled) span {
  width: 104px;
}
.sim-toast {
  position: absolute;
  z-index: 11;
  bottom: 32px;
  left: 15px;
  right: 15px;
  padding: 11px 12px;
  border: 1px solid #ffffff23;
  border-radius: 15px;
  color: #fff;
  background: #252724f5;
  font-size: 11px;
  text-align: center;
  box-shadow: 0 7px 24px #0002;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.22s,
    transform 0.22s;
  pointer-events: none;
}
.sim-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* A small home screen, with a wallpaper made entirely in CSS. */
.sim-home {
  background: #e8e4d5;
}
.sim-wallpaper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 9%, #f6eee5 0, transparent 50%),
    linear-gradient(162deg, #e8e4d5 19%, #e8dfe0 54%, #c5b5d6);
  overflow: hidden;
}
.sim-wallpaper > i {
  position: absolute;
  display: block;
  border-radius: 50%;
}
.sim-wallpaper > i:nth-child(1) {
  width: 385px;
  height: 435px;
  right: -215px;
  top: 139px;
  transform: rotate(-29deg);
  background: linear-gradient(130deg, #e19b7c 5%, #edb4a0 45%, #e6c1b2 75%);
  box-shadow:
    -5px 6px 22px #c39d9f2b,
    inset 8px 10px 22px #fbe0c329;
}
.sim-wallpaper > i:nth-child(2) {
  width: 422px;
  height: 525px;
  left: -276px;
  bottom: -202px;
  transform: rotate(-17deg);
  background: linear-gradient(135deg, #d2c3e6, #b5a2c9 71%);
  box-shadow:
    inset -10px 4px 31px #ede1f154,
    10px -7px 23px #7469821a;
}
.sim-wallpaper > i:nth-child(3) {
  width: 290px;
  height: 327px;
  right: -139px;
  bottom: -237px;
  background: #d5dec7;
  box-shadow: inset 4px 6px 20px #ffffee69;
}
.sim-home-date {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  text-align: center;
  color: #4d4a49;
  font-size: 12px;
  font-weight: 500;
}
.sim-home-clock {
  position: absolute;
  left: 0;
  right: 0;
  top: 88px;
  text-align: center;
  color: #484247;
  font-size: 76px;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -5px;
}
.sim-widget {
  position: absolute;
  top: 190px;
  left: 22px;
  right: 22px;
  padding: 18px;
  border: 1px solid #ffffff80;
  border-radius: 25px;
  background: #f9f7efb8;
  box-shadow: 0 6px 17px #61565909;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.sim-widget-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #625966;
}
.sim-widget-top > span {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1px;
}
.sim-widget-top svg {
  width: 18px;
  height: 18px;
  color: #877e63;
}
.sim-widget > p {
  margin: 11px 0 14px;
  font-size: 34px;
  font-weight: 550;
  letter-spacing: -1.55px;
  line-height: 1.04;
}
.sim-widget > p em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #726180;
}
.sim-widget-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6d6266;
  font-size: 8px;
  font-weight: 500;
}
.sim-small-dot {
  width: 5px;
  height: 5px;
  background: #819272;
  border-radius: 50%;
}
.sim-app-grid {
  position: absolute;
  top: 393px;
  left: 21px;
  right: 21px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.sim-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: #342f35;
}
.sim-app > span:last-child {
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}
.sim-app-icon {
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 3px 5px #31253a0d,
    inset 0 0 0 1px #ffffff3b;
  transition: transform 0.18s;
}
.sim-app:hover .sim-app-icon {
  transform: translateY(-3px);
}
.sim-app:active .sim-app-icon {
  transform: scale(0.91);
}
.sim-app-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.sim-kibo-icon {
  background: #262527;
  color: #d8f498;
}
.sim-kibo-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}
.sim-notes-icon {
  position: relative;
  padding: 20px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(#eac76f 0 29%, #fffdf4 29%);
}
.sim-notes-icon i {
  display: block;
  width: 100%;
  height: 1px;
  background: #d6d1c7;
}
.sim-home-hint {
  position: absolute;
  top: 479px;
  left: 0;
  right: 0;
  color: #675b69;
  text-align: center;
}
.sim-home-hint > span {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 1px;
  background: #6f6277;
  border-radius: 50%;
}
.sim-home-hint > span:nth-child(2) {
  opacity: 0.3;
}
.sim-home-hint p {
  margin-top: 5px;
  font-size: 9px;
}
.sim-home-mail {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 13px;
  border-radius: 17px;
  border: 1px solid #ffffff54;
  background: #f9f5f14d;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: #4a414c;
  text-decoration: none;
  font-size: 9px;
  font-weight: 600;
}
.sim-home-mail svg {
  width: 17px;
  height: 17px;
}
.sim-home-mail svg:last-child {
  width: 14px;
  margin-left: auto;
}

/* CloudNav: tiny instruments with a real, scroll-driven compass. */
.sim-app-header {
  position: absolute;
  top: 61px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.65px;
  line-height: 1;
}
.sim-wordmark-dot {
  color: #a4b96e;
}
.sim-micro-label {
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 1.25px;
  line-height: 1.4;
}
.sim-cloudnav {
  background: radial-gradient(
    ellipse at 50% 48%,
    #243837 0%,
    #142421 46%,
    #15221f 100%
  );
  color: #f0f2e7;
}
.sim-host[data-active-scene="cloudnav"] .sim-status,
.sim-host[data-active-scene="cloudnav"] .sim-home-button {
  color: #f0f2e7;
}
.sim-offline {
  padding: 5px 7px;
  border: 1px solid #bde29435;
  border-radius: 6px;
  color: #bdd8a0;
  font-size: 6px;
  letter-spacing: 1px;
}
.sim-gps-intro {
  position: absolute;
  top: 109px;
  left: 23px;
}
.sim-gps-intro .sim-micro-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #b9c6b9;
  font-size: 6px;
}
.sim-gps-intro .sim-micro-label i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cff0a1;
  box-shadow: 0 0 6px #cff0a144;
}
.sim-gps-intro h3 {
  margin-top: 8px;
  font-size: 27px;
  font-weight: 450;
  line-height: 1.05;
  letter-spacing: -0.8px;
}
.sim-compass {
  position: absolute;
  top: 189px;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translateX(-50%);
  border: 1px solid #adc79e26;
  border-radius: 50%;
  box-shadow: 0 0 35px #07140e20;
}
.sim-compass-ticks {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from -1deg,
    #b1c3ab7d 0deg 1deg,
    transparent 1deg 15deg
  );
  -webkit-mask: radial-gradient(transparent 65%, #000 65%);
  mask: radial-gradient(transparent 65%, #000 65%);
}
.sim-compass-inner {
  position: absolute;
  inset: 34px;
  border: 1px solid #b5c4aa15;
  border-radius: 50%;
}
.sim-compass-inner::before,
.sim-compass-inner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  right: -10px;
  height: 1px;
  background: #b5c4aa13;
}
.sim-compass-inner::after {
  transform: rotate(90deg);
}
.sim-compass > span {
  position: absolute;
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  color: #8fa497;
}
.sim-compass .sim-north {
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  color: #e9a08c;
}
.sim-compass .sim-east {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}
.sim-compass .sim-south {
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
}
.sim-compass .sim-west {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}
.sim-needle {
  position: absolute;
  top: 37px;
  left: 78px;
  width: 22px;
  height: 105px;
  transform: rotate(calc(22deg + var(--sim-progress) * 114deg));
  filter: drop-shadow(0 4px 6px #0003);
}
.sim-needle i {
  position: absolute;
  width: 22px;
  height: 54px;
  left: 0;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(90deg, #ca785f 50%, #f3af8f 50%);
}
.sim-needle i:nth-child(2) {
  bottom: 0;
  transform: rotate(180deg);
  background: linear-gradient(90deg, #b9c4ac 50%, #e5e8d5 50%);
}
.sim-compass .sim-compass-pin {
  width: 9px;
  height: 9px;
  background: #182921;
  border: 2px solid #dce2ca;
  border-radius: 50%;
  top: 85px;
  left: 85px;
}
.sim-compass .sim-degree {
  top: 112px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  background: #172821dc;
  color: #d0d7c4;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}
.sim-coordinate-card {
  position: absolute;
  top: 385px;
  left: 22px;
  right: 22px;
}
.sim-coordinate-card .sim-micro-label {
  color: #809589;
  font-size: 6px;
  letter-spacing: 0.8px;
}
.sim-coordinate-card strong {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
}
.sim-coordinate-card strong span {
  color: #adbeae;
}
.sim-gps-stats {
  position: absolute;
  top: 443px;
  left: 22px;
  right: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 12px;
  border-top: 1px solid #bdc7ac26;
}
.sim-gps-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 1px solid #bdc7ac26;
}
.sim-gps-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.sim-gps-stats span {
  font-size: 7px;
  color: #92a294;
}
.sim-gps-stats strong {
  font-size: 15px;
  font-weight: 450;
}
.sim-gps-stats small {
  font-size: 7px;
  color: #adbaab;
}
.sim-action {
  position: absolute;
  bottom: 54px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 10px 12px;
  border: 0;
  border-radius: 13px;
  background: #dbefa5;
  color: #203328;
  font-size: 10px !important;
  font-weight: 600 !important;
}
.sim-action svg {
  width: 16px;
  height: 16px;
}
.sim-action svg:last-child {
  width: 15px;
  margin-left: auto;
}
.sim-action > span {
  margin-right: auto;
}
.sim-save-location.is-saved {
  background: #bfd8b1;
}
.sim-app-footnote {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  text-align: center;
  color: #8f9e8d;
  font-size: 6.5px;
}

/* Patna: a small, deliberately illustrated city guide. */
.sim-patna {
  background: #fbf6ec;
  color: #3b382f;
}
.sim-patna .sim-wordmark-dot {
  color: #ce7c5d;
}
.sim-city-pin {
  font-size: 7px;
  letter-spacing: 0.5px;
  font-weight: 500;
  color: #887d68;
}
.sim-patna-intro {
  position: absolute;
  top: 109px;
  left: 22px;
  right: 22px;
}
.sim-patna-intro > .sim-micro-label {
  color: #938573;
  font-size: 6px;
  letter-spacing: 1.4px;
}
.sim-patna-intro h3 {
  margin-top: 8px;
  font-size: 38px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -1.7px;
}
.sim-patna-intro h3 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #b56b51;
}
.sim-places-stamp {
  position: absolute;
  top: 37px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 77px;
  height: 77px;
  border: 1px solid #d7d1ad;
  border-radius: 50%;
  transform: rotate(10deg);
  color: #7d8058;
  background: #ececd95c;
}
.sim-places-stamp strong {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 29px;
  letter-spacing: -1px;
}
.sim-places-stamp span {
  font-size: 6px;
  line-height: 1.5;
}
.sim-landmark-card {
  position: absolute;
  top: 227px;
  left: 16px;
  right: 16px;
  height: 188px;
  overflow: hidden;
  border-radius: 14px;
  background: #cbd0ae;
}
.sim-landmark-card .sim-landmark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.4s,
    transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.sim-landmark-card .sim-park-art {
  opacity: 0;
  transform: scale(1.06);
}
.sim-landmark-card.is-slow .sim-landmark-art {
  opacity: 0;
  transform: scale(1.08);
}
.sim-landmark-card.is-slow .sim-park-art {
  opacity: 1;
  transform: scale(1);
}
.sim-landmark-caption {
  position: absolute;
  top: 14px;
  left: 13px;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 1.1px;
  color: #655965;
}
.sim-landmark-count {
  position: absolute;
  bottom: 10px;
  right: 11px;
  color: #62684c;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 1px;
}
.sim-city-tabs {
  position: absolute;
  top: 428px;
  left: 22px;
  right: 22px;
  display: flex;
  gap: 7px;
}
.sim-city-tabs button {
  min-height: 29px;
  padding: 7px 13px;
  border: 1px solid #e8e0d4;
  border-radius: 20px;
  background: transparent;
  color: #7e786b;
  font-size: 8px;
  transition:
    background 0.2s,
    color 0.2s;
}
.sim-city-tabs button[aria-pressed="true"] {
  background: #454939;
  border-color: #454939;
  color: #fcf7ed;
}
.sim-place-detail {
  position: absolute;
  top: 475px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sim-place-detail .sim-micro-label {
  color: #9c8e7a;
  font-size: 5.5px;
  letter-spacing: 1.2px;
}
.sim-place-detail h4 {
  margin-top: 4px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  font-weight: 500;
}
.sim-place-detail p {
  margin-top: 4px;
  font-size: 8px;
  color: #968775;
}
.sim-place-save {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  padding: 0;
  border: 1px solid #dfd9cb;
  border-radius: 50%;
  color: #675f4f;
  background: transparent;
}
.sim-place-save svg {
  width: 16px;
  height: 16px;
}
.sim-place-save[aria-pressed="true"] {
  background: #e2e7ce;
  border-color: #ccd3b8;
  color: #586343;
}
.sim-city-footer {
  position: absolute;
  bottom: 35px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #8b8b71;
  font-size: 6.5px;
}
.sim-city-footer svg {
  width: 12px;
  height: 12px;
}

/* Kibo: a reversible sample-text interaction, without camera permissions. */
.sim-kibo {
  background: #f6f5f0;
  color: #35332f;
}
.sim-kibo .sim-wordmark-dot {
  color: #a896b9;
}
.sim-kibo-mark {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #dbddd0;
  border-radius: 50%;
  color: #777d5e;
}
.sim-kibo-mark svg {
  width: 18px;
  height: 18px;
}
.sim-kibo-intro {
  position: absolute;
  top: 111px;
  left: 22px;
  right: 22px;
}
.sim-kibo-intro .sim-micro-label {
  font-size: 6px;
  letter-spacing: 1.1px;
  color: #8c897c;
}
.sim-kibo-intro h3 {
  margin-top: 9px;
  font-size: 29px;
  line-height: 1.07;
  font-weight: 500;
  letter-spacing: -1.1px;
}
.sim-scan-card,
.sim-readable-card {
  position: absolute;
  top: 218px;
  left: 22px;
  right: 22px;
  height: 226px;
  border-radius: 16px;
  overflow: hidden;
  background: #ded8e6;
}
.sim-scan-card {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 45% 20%, #ece5f0, #d3cddc);
}
.sim-scan-paper {
  width: 140px;
  height: 168px;
  margin-top: -10px;
  padding: 20px 15px;
  background: #fffef6;
  box-shadow: 3px 7px 12px #6e5f7629;
  transform: rotate(-7deg);
  color: #67644f;
}
.sim-scan-paper > span {
  display: block;
  padding-bottom: 7px;
  border-bottom: 1px solid #dcdace;
  font-size: 5px;
  letter-spacing: 0.8px;
  font-weight: 600;
}
.sim-scan-paper strong {
  display: block;
  margin-top: 12px;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.sim-scan-paper p {
  margin: 8px 0 10px;
  font-size: 8px;
  line-height: 1.5;
}
.sim-scan-paper > i {
  display: block;
  width: 70%;
  height: 2px;
  margin-top: 4px;
  background: #ebe8dd;
}
.sim-scan-paper > i:last-child {
  width: 45%;
}
.sim-scan-corner {
  position: absolute;
  z-index: 2;
  width: 15px;
  height: 15px;
  border-color: #8b7d9d;
  border-style: solid;
}
.sim-corner-tl {
  top: 20px;
  left: 24px;
  border-width: 1.5px 0 0 1.5px;
  border-radius: 5px 0 0 0;
}
.sim-corner-tr {
  top: 20px;
  right: 24px;
  border-width: 1.5px 1.5px 0 0;
  border-radius: 0 5px 0 0;
}
.sim-corner-bl {
  bottom: 40px;
  left: 24px;
  border-width: 0 0 1.5px 1.5px;
  border-radius: 0 0 0 5px;
}
.sim-corner-br {
  bottom: 40px;
  right: 24px;
  border-width: 0 1.5px 1.5px 0;
  border-radius: 0 0 5px 0;
}
.sim-scanner-line {
  position: absolute;
  top: calc(38px + var(--sim-progress) * 130px);
  left: 21px;
  right: 21px;
  height: 1.5px;
  background: #a699b9;
  box-shadow: 0 -6px 18px 2px #c1b1d67a;
}
.sim-scanner-line::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 18px;
  background: linear-gradient(transparent, #b9a7ce45);
}
.sim-scan-label {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 5.5px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #887995;
}
.sim-readable-card {
  padding: 21px 19px;
  border: 1px solid #dcd6e4;
  background: #eee9f3;
  animation: sim-scene-in 0.3s ease both;
}
.sim-readable-card > .sim-micro-label {
  display: flex;
  gap: 5px;
  align-items: center;
  color: #887697;
  font-size: 5px;
  letter-spacing: 0.6px;
}
.sim-readable-card > .sim-micro-label svg {
  width: 12px;
  height: 12px;
}
.sim-readable-card > p {
  margin-top: 19px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.45px;
  color: #484151;
}
.sim-readable-card.is-large > p {
  margin-top: 15px;
  font-size: 23px;
  line-height: 1.15;
}
.sim-readable-card button {
  position: absolute;
  left: 18px;
  bottom: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 25px;
  padding: 3px 7px;
  border: 1px solid #d8cfdf;
  border-radius: 7px;
  background: #faf7fc7a;
  color: #776782;
  font-size: 13px;
}
.sim-readable-card button span {
  font-size: 7px;
}
.sim-scan-description {
  position: absolute;
  top: 460px;
  left: 22px;
  right: 22px;
}
.sim-scan-description > span {
  font-size: 11px;
  font-weight: 500;
}
.sim-scan-description p {
  margin-top: 5px;
  font-size: 7.5px;
  color: #918b81;
}
.sim-scan-action {
  background: #d9e5bb;
  color: #475038;
}
.sim-kibo .sim-app-footnote {
  color: #9b9589;
  font-size: 6px;
}

.sim-notes {
  background: #fcf8ec;
  color: #504533;
}
.sim-notes .sim-app-header {
  color: #947028;
}
.sim-notes-date {
  color: #b19f7b;
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0;
}
.sim-note-content {
  position: absolute;
  top: 120px;
  left: 26px;
  right: 26px;
}
.sim-note-star {
  color: #b7985b;
  font-size: 42px;
  line-height: 1;
}
.sim-note-content h3 {
  margin: 18px 0 24px;
  font-size: 37px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -1.5px;
}
.sim-note-content p {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.65;
  color: #81735b;
}
.sim-note-signature {
  display: block;
  margin-top: 24px;
  font-family: Georgia, serif;
  font-size: 23px;
  font-style: italic;
  color: #a68c5b;
}

@keyframes sim-scene-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Small interface labels remain legible in the full-size interactive preview. */
.sim-city-pin,
.sim-patna-intro .sim-micro-label,
.sim-place-detail .sim-micro-label,
.sim-place-detail p,
.sim-city-footer,
.sim-city-tabs button[aria-pressed="false"] {
  color: #6c6355;
}
.sim-places-stamp {
  color: #676c44;
}
.sim-kibo-intro .sim-micro-label,
.sim-scan-description p,
.sim-kibo .sim-app-footnote {
  color: #6d685e;
}
@media (prefers-reduced-motion: reduce) {
  .sim-host *,
  .sim-host *::before,
  .sim-host *::after {
    animation: none !important;
    transition: none !important;
  }
}
