:root {
  color-scheme: dark;
  --bg: #11111c;
  --surface: #181721;
  --surface-2: #201f2a;
  --line: #504d60;
  --muted: #aaa5b9;
  --text: #e9e3fa;
  --pink: #ff8196;
  --cyan: #58dfff;
  --green: #35e778;
  --mono: "JetBrains Mono", Consolas, monospace;
  --display: Impact, "Arial Narrow", sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  height: 100%;
  background: #0b0b11;
  color: var(--text);
}
body {
  overflow: hidden;
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    opacity 0.18s ease;
}
#app {
  width: 100vw;
  height: 100dvh;
  display: grid;
  place-items: center;
}
.device {
  position: relative;
  width: min(412px, 100vw, calc(100dvh * 0.44929));
  height: min(917px, 100dvh, calc(100vw * 2.22573));
  aspect-ratio: 412/917;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 48% -8%,
    #25243c 0,
    #141321 40%,
    #10101a 80%
  );
  isolation: isolate;
  box-shadow: 0 0 45px #0006;
}
.topbar {
  position: absolute;
  z-index: 20;
  top: 30px;
  left: 24px;
  right: 24px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.brand {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
  pointer-events: auto;
}
.brand b {
  height: 34px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  background: var(--pink);
  color: #17121b;
  font:
    900 21px/1 Arial,
    sans-serif;
  letter-spacing: -1px;
}
.brand i {
  font:
    italic 19px/1 Georgia,
    serif;
  letter-spacing: -1.2px;
  text-shadow: 0 1px 2px #000;
}
.close-button,
.photo-back {
  width: 50px;
  height: 50px;
  border: 1px solid #77748588;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #171621b8;
  color: #eee7fb;
  pointer-events: auto;
}
.close-button {
  width: 50px;
  height: 50px;
}
.map-scene {
  position: absolute;
  z-index: 0;
  inset: 103px 0 0;
  overflow: hidden;
  background: #aeca69;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.map-scene.is-panning {
  cursor: grabbing;
}
.map-layer {
  position: absolute;
  inset: -1%;
  transform-origin: center;
  transition: transform 0.25s ease;
  will-change: transform;
}
.map-layer.dragging {
  transition: none;
  will-change: transform;
}
.map-top,
.map-controls,
.map-instruction {
  touch-action: auto;
}
.map-art {
  width: 100%;
  height: 100%;
  display: block;
}
.map-scene:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #11111c9c 0%,
    transparent 21%,
    transparent 73%,
    #11111c17 100%
  );
  pointer-events: none;
}
.map-top {
  position: absolute;
  z-index: 3;
  top: 2px;
  left: 24px;
  right: 24px;
}
.search-box {
  height: 50px;
  padding: 0 22px;
  border: 1px solid #534d59;
  border-radius: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #191720;
  color: #e7e1f5;
  box-shadow: 0 7px 18px #07070b36;
}
.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  color: #ede8f7;
  font-size: 14px;
}
.search-box input::placeholder {
  color: #ded8eb;
  opacity: 1;
}
.filter-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.2fr 52px;
  gap: 4px;
  margin-top: 10px;
}
.filter-row button {
  height: 41px;
  border: 1px solid #d5d1de50;
  border-radius: 23px;
  background: #ffffff23;
  color: #eae4f4;
  font-size: 11px;
}
.filter-row button.active {
  border-color: var(--pink);
  background: var(--pink);
  color: #17121b;
}
.filter-row small {
  opacity: 0.74;
  font-size: 9px;
}
.filter-row .filter-icon {
  display: grid;
  place-items: center;
}
.map-filter-menu {
  position: absolute;
  z-index: 8;
  top: 105px;
  right: 56px;
  min-width: 145px;
  padding: 6px;
  border: 1px solid #ffffff35;
  border-radius: 16px;
  background: #171620f2;
  box-shadow: 0 8px 24px #08071070;
  animation: menu-in 0.16s ease-out both;
}
.map-filter-menu button {
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 12px;
}
.map-filter-menu button.active {
  background: #ff89972c;
  color: var(--pink);
}
.map-label {
  position: absolute;
  color: #4f6745a8;
  font-size: 6px;
  letter-spacing: 0.8px;
  font-weight: 700;
}
.label-airport {
  left: 1%;
  top: 25%;
}
.label-district {
  left: 9%;
  top: 64%;
}
.label-park {
  left: 66%;
  top: 36%;
}
.map-marker {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  width: 43px;
  height: 43px;
  transform: translate(-50%, -50%);
  border: 3px solid #17141c;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0f111a;
  color: var(--cyan);
  box-shadow: 0 2px 6px #0008;
}
.map-marker.find-marker {
  border: 2px solid var(--pink);
  background: #15141de8;
  color: var(--pink);
}
.map-marker.photo-marker {
  border: 2px solid #59dff7;
  background: #3b515dc9;
  color: #59dff7;
}
.map-marker.cluster-marker {
  border: 2px solid #17141c;
  background: var(--pink);
  color: #17121b;
}
.map-marker.selected {
  width: 57px;
  height: 57px;
  outline: 10px solid #ff819644;
}
.map-marker.selected:after {
  content: attr(data-title);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  border-radius: 20px;
  padding: 7px 12px;
  background: #191720;
  color: white;
  font: 11px var(--mono);
  box-shadow: 0 3px 10px #0005;
}
.map-controls {
  position: absolute;
  z-index: 5;
  top: 116px;
  right: 24px;
  display: grid;
  gap: 12px;
}
.map-controls button {
  width: 50px;
  height: 50px;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1b1922e8;
  box-shadow: 0 5px 12px #0004;
}
.map-controls button:first-child,
.map-controls button:nth-child(2) {
  height: 45px;
  border-radius: 18px;
}
.map-controls button:last-child {
  margin-top: 2px;
}
.map-add {
  position: absolute;
  z-index: 7;
  right: 37px;
  bottom: 98px;
}
.primary,
.outline {
  height: 50px;
  border: 1px solid transparent;
  border-radius: 27px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: 900 15px/1 var(--display);
  letter-spacing: -0.25px;
}
.primary {
  background: var(--pink);
  color: #17121b;
}
.primary:disabled {
  background: #292730;
  color: #777382;
  cursor: not-allowed;
}
.outline {
  border-color: #817c8e;
  background: transparent;
  color: var(--text);
}
.map-add {
  min-width: 148px;
  height: 50px;
  font-size: 16px;
}
.map-add.compact {
  bottom: 258px;
}
.tabbar {
  position: absolute;
  z-index: 15;
  left: 0;
  right: 0;
  bottom: 0;
  height: 84px;
  padding: 7px 20px calc(7px + env(safe-area-inset-bottom));
  border: 1px solid #48445466;
  border-radius: 26px 26px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  background: #151421f5;
  backdrop-filter: blur(12px);
}
.tabbar button {
  border: 0;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  color: #d8d2ea;
}
.tabbar button span {
  font: 900 10px/1 var(--display);
  letter-spacing: 0.1px;
}
.tabbar button.active {
  background: #272334;
  color: var(--pink);
}
.tabbar button.active svg {
  fill: #ff819633;
}
.page-point .map-scene {
  bottom: 248px;
}
.place-peek {
  position: absolute;
  z-index: 9;
  left: 0;
  right: 0;
  bottom: 76px;
  height: 173px;
  padding: 0 24px 16px;
  border-radius: 28px 28px 0 0;
  background: #11111df5;
  box-shadow: 0 -10px 30px #05050b33;
}
.sheet-handle {
  height: 27px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sheet-handle i {
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: #d8cdf9;
}
.peek-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  height: 122px;
}
.peek-card img {
  width: 150px;
  height: 112px;
  object-fit: cover;
  border-radius: 18px;
}
.peek-copy {
  min-width: 0;
  padding-top: 1px;
}
.peek-copy h2 {
  margin: 0 0 10px;
  font: 900 19px/0.99 var(--display);
  text-transform: uppercase;
}
.peek-copy p {
  margin: 0 0 8px;
  color: #bdb7cb;
  font-size: 10px;
}
.username {
  display: inline-block;
  border-radius: 12px;
  padding: 3px 7px;
  background: #24222f;
  color: #aaa5b9;
  font-size: 10px;
}
.scroll-sheet {
  position: absolute;
  z-index: 4;
  top: 104px;
  bottom: 0;
  left: 0;
  right: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #49465466;
  border-bottom: 0;
  border-radius: 27px 27px 0 0;
  background: linear-gradient(160deg, #14131f 0, #11111b 50%, #12121c 100%);
  scrollbar-width: none;
}
.scroll-sheet::-webkit-scrollbar {
  display: none;
}
.location-sheet {
  padding: 0 24px 22px;
}
.photo-hero {
  position: relative;
  height: 200px;
  margin: 0 0 15px;
  overflow: hidden;
  border-radius: 22px;
}
.photo-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-back {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 44px;
  height: 44px;
  background: #16141dd9;
}
.photo-dots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  height: 26px;
  padding: 0 10px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #26232cba;
}
.photo-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff54;
}
.photo-dots i.on {
  background: #e9e3fa;
}
.location-sheet h1,
.passport-sheet > h1 {
  margin: 0 0 16px;
  font: 900 35px/0.99 var(--display);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.place-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}
.verified,
.stat-button {
  height: 42px;
  padding: 0 10px;
  border: 1px solid #3b3a47;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #1b1a25;
  color: #e9e3fa;
  font-size: 12px;
}
.verified {
  border-color: #204e36;
  background: #101c19;
  color: var(--green);
  font-size: 11px;
}
.stat-button {
  min-width: 75px;
  justify-content: center;
}
.stat-button.liked {
  color: var(--pink);
}
.place-description {
  margin: 0 0 14px;
  color: #dfd9ed;
  font-size: 13px;
  line-height: 1.6;
}
.author-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0 17px;
  color: #aaa5b9;
  font-size: 11px;
}
.author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #3d3733;
  color: #fff;
  font: bold 12px var(--mono);
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.location-sheet h3,
.stamp-collection h3 {
  margin: 0 0 12px;
  font: 900 15px var(--display);
}
.location-sheet h3 small {
  font: 12px var(--mono);
  color: #ccc5dc;
}
.comment-preview {
  font-size: 12px;
  line-height: 1.55;
}
.comment-preview p {
  margin: 6px 0 10px;
}
.reply-preview {
  margin: 11px 0 10px 12px;
  padding-left: 14px;
  border-left: 1px solid #5a5666;
  color: #d3cde0;
}
.reply-preview small {
  color: #a5a0b2;
}
.sticky-actions {
  position: sticky;
  bottom: 0;
  margin: 18px -24px -22px;
  padding: 10px 24px calc(8px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: linear-gradient(180deg, #11111b00, #11111bf7 18%);
}
.sticky-actions button {
  height: 50px;
  font-size: 14px;
}
.discussion-sheet {
  padding: 0 24px 88px;
}
.discussion-context {
  margin: 3px 0 14px;
  color: #aaa5b9;
  font-size: 11px;
}
.comment {
  margin: 0 0 15px;
  font-size: 13px;
  line-height: 1.55;
}
.comment p {
  margin: 8px 0;
}
.reply-link,
.show-more {
  border: 0;
  background: transparent;
  color: #aaa5b9;
  font-size: 11px;
}
.reply-link {
  padding: 3px 0;
}
.show-more {
  margin: 0 0 17px;
  color: var(--pink);
}
.composer {
  position: sticky;
  bottom: 8px;
  height: 56px;
  padding: 0 14px 0 25px;
  border: 1px solid #666170;
  border-radius: 30px;
  display: flex;
  align-items: center;
  background: #201f29;
  z-index: 2;
}
.composer input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #eee8f8;
  font-size: 13px;
}
.composer button {
  border: 0;
  background: transparent;
  color: #e5ddfa;
}
.bottom-sheet {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  height: 303px;
  padding: 0 24px 22px;
  border: 1px solid #49465466;
  border-bottom: 0;
  border-radius: 27px 27px 0 0;
  background: #12111c;
}
.bottom-sheet .sheet-handle {
  height: 24px;
}
.bottom-sheet .sheet-handle i {
  background: #565262;
}
.sheet-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sheet-title h1 {
  margin: 4px 0 9px;
  font: 900 32px/0.95 var(--display);
  text-transform: uppercase;
}
.sheet-title > button {
  border: 0;
  background: transparent;
  color: #aaa5b9;
  font-size: 13px;
}
.step-label {
  margin: 0 0 8px;
  color: #aca6b9;
  font-size: 11px;
}
.step-progress {
  height: 4px;
  margin-bottom: 15px;
  border-radius: 4px;
  background: #373542;
}
.step-progress i {
  width: 50%;
  height: 100%;
  display: block;
  border-radius: 4px;
  background: var(--pink);
}
.step-progress.done i {
  width: 100%;
}
.address-card {
  height: 57px;
  margin-bottom: 23px;
  padding: 0 12px;
  border: 1px solid #393643;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1c1a25;
}
.address-card > svg {
  flex: none;
  color: var(--pink);
}
.address-card span {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.address-card b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.address-card small {
  color: #aaa5b9;
  font-size: 10px;
}
.primary.wide {
  width: 100%;
  height: 56px;
}
.page-new-place .map-scene {
  bottom: 0;
}
.page-new-place .map-controls {
  top: 116px;
}
.map-instruction {
  position: absolute;
  z-index: 4;
  top: 195px;
  left: 50%;
  transform: translateX(-50%);
  padding: 9px 14px;
  border-radius: 20px;
  background: #181720e8;
  color: #e9e3fa;
  font-size: 11px;
  white-space: nowrap;
}
.map-tap-zone {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 145px;
  bottom: 303px;
}
.picked-marker {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -100%);
  width: 49px;
  height: 62px;
  border: 3px solid #17131c;
  border-radius: 50% 50% 50% 6%;
  rotate: -45deg;
  background: var(--pink);
  color: #14111a;
  display: grid;
  place-items: center;
  box-shadow: 0 5px 12px #0007;
  pointer-events: none;
  animation: pin-drop 0.34s cubic-bezier(0.2, 0.85, 0.3, 1.25) both;
}
.picked-marker i {
  width: 15px;
  height: 15px;
  border: 3px solid #17131c;
  border-radius: 50%;
  background: var(--pink);
}
.page-form .scroll-sheet {
  padding: 0 24px 24px;
}
.form-sheet .sheet-handle {
  height: 25px;
}
.form-sheet .sheet-title h1 {
  font-size: 30px;
  margin: 2px 0 8px;
}
.form-sheet .step-label {
  margin-bottom: 8px;
}
.form-sheet .step-progress {
  margin-bottom: 16px;
}
.address-card.short {
  height: 56px;
  margin-bottom: 18px;
  padding: 0 10px;
}
.address-card.short > button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--pink);
  font-size: 11px;
}
.section-heading,
.form-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-heading {
  margin: 0 0 10px;
  font-size: 12px;
}
.section-heading small,
.form-field small {
  color: #aaa5b9;
  font: 12px var(--mono);
}
.shot-row {
  height: 108px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 17px;
}
.add-shot,
.shot {
  position: relative;
  min-width: 0;
  border: 1px dashed #5a5668;
  border-radius: 19px;
  overflow: hidden;
}
.add-shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #bdb6ca;
  font-size: 11px;
}
.add-shot svg {
  color: #e7dffd;
}
.add-shot input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.shot button {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #201e28;
  color: #fff;
}
.form-field {
  height: 76px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #504d60;
  border-radius: 24px;
  display: block;
  background: #1a1924;
}
.form-field > span {
  font-size: 12px;
  color: #aaa5b9;
}
.form-field > span b,
.category-field legend b {
  color: var(--pink);
}
.form-field input,
.form-field textarea {
  width: 100%;
  height: 34px;
  border: 0;
  outline: 0;
  resize: none;
  background: none;
  color: #eee9f7;
  font-size: 14px;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8f899f;
  opacity: 1;
}
.category-field {
  height: 102px;
  margin: 0 0 18px;
  padding: 15px 16px;
  border: 1px solid #504d60;
  border-radius: 24px;
}
.category-field legend {
  padding: 0;
  color: #aaa5b9;
  font-size: 12px;
}
.category-field > div {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}
.category-field button {
  height: 36px;
  flex: 1;
  min-width: 0;
  padding: 0 8px;
  border: 1px solid #504d60;
  border-radius: 20px;
  background: #171620;
  color: #d7d1e4;
  font-size: 10px;
}
.category-field button.selected {
  border-color: var(--pink);
  background: var(--pink);
  color: #17121b;
}
.description-field {
  height: 122px;
}
.description-field textarea {
  height: 75px;
  padding-top: 8px;
  line-height: 1.4;
}
.submit-hint {
  height: 23px;
  margin: 0;
  text-align: center;
  color: #aaa5b9;
  font-size: 11px;
}
.submit-place {
  margin-bottom: 12px;
}
.page-passport .scroll-sheet {
  bottom: 80px;
  padding: 0 24px 24px;
}
.passport-sheet > h1 {
  margin: 1px 0 14px;
  text-align: center;
  font-size: 31px;
}
.travel-pass {
  position: relative;
  height: 390px;
  padding: 22px 25px;
  border: 3px double #5c5047;
  border-radius: 30px;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 50% 36%,
    #fbefd9,
    #e0d0bb 78%,
    #cfbba4
  );
  color: #352b27;
  box-shadow:
    inset 0 0 0 5px #f6eddf,
    inset 0 0 30px #bda991;
}
.travel-pass:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(
    from 0deg at 50% 40%,
    #6e59420b 0deg 2deg,
    transparent 2deg 5deg
  );
  opacity: 0.9;
}
.pass-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  color: #938274;
  font-size: 9px;
  letter-spacing: 2px;
}
.portrait {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 35px auto 10px;
  border: 4px double #433b34;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e9dccb;
  color: #302722;
  font: bold 40px var(--display);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.travel-pass h2 {
  position: relative;
  margin: 8px -10px 14px;
  text-align: center;
  white-space: nowrap;
  font: 900 24px/0.98 var(--display);
  color: #322824;
}
.travel-pass > p {
  position: relative;
  margin: 0 0 7px;
  text-align: center;
  font-size: 12px;
}
.progress-track {
  position: relative;
  height: 6px;
  border-radius: 8px;
  background: #a18f7c;
}
.progress-track i {
  height: 100%;
  display: block;
  border-radius: 8px;
  background: #332a25;
}
.progress-value {
  position: relative;
  display: block;
  margin-top: 8px;
  text-align: center;
  font: 900 25px var(--display);
  color: #302824;
}
.city-stamp {
  position: absolute;
  right: 15px;
  bottom: 21px;
  padding: 5px;
  border: 3px double #9c453e;
  rotate: -11deg;
  color: #9c453e;
  font: 900 18px var(--display);
}
.stamp-collection,
.winline {
  margin-top: 18px;
  padding: 20px 18px;
  border: 1px solid #514e5f;
  border-radius: 25px;
  background: #1b1a25;
}
.stamp-collection h3 {
  display: flex;
  justify-content: space-between;
}
.stamp-collection h3 small {
  font: 12px var(--mono);
  color: #aaa5b9;
}
.stamp-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 0 7px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
.stamp {
  width: 95px;
  height: 93px;
  flex: 0 0 91px;
  padding: 0 7px 10px;
  cursor: pointer;
  scroll-snap-align: start;
  border: 4px double #352c34;
  border-radius: 23px 23px 17px 17px;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 0 7px 10px;
  text-align: center;
  color: #261e23;
  font: 900 10px/0.98 var(--display);
}
.stamp.coral {
  background: #ff8196;
}
.stamp.lilac {
  background: #b58bdb;
}
.stamp.yellow {
  background: #ffda80;
}
.stamp.locked {
  background: #315447;
  color: #d6e3d8;
}
.stamp.green {
  background: #86c9a6;
}
.stamp.blue {
  background: #82bcd1;
}
.stamp.violet {
  background: #d193bf;
}
.winline {
  display: flex;
  justify-content: space-between;
  font: 900 13px var(--display);
}
.winline button {
  border: 0;
  background: none;
  color: #b6afc4;
  font: 12px var(--mono);
}
.auth-error {
  height: 100dvh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 30px;
  text-align: center;
}
.auth-error b {
  background: var(--pink);
  color: #17121b;
  padding: 7px 10px;
  font: 900 21px Arial;
}
.auth-error strong {
  font: 900 24px var(--display);
  text-transform: uppercase;
}
.auth-error span {
  max-width: 330px;
  color: #c1bbce;
  font-size: 12px;
  line-height: 1.5;
}
#toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + 22px);
  max-width: min(380px, calc(100vw - 30px));
  transform: translate(-50%, 10px);
  padding: 11px 15px;
  border-radius: 11px;
  background: #f5f2f7;
  color: #201b25;
  font:
    700 11px/1.35 Arial,
    sans-serif;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s,
    transform 0.18s;
  box-shadow: 0 6px 18px #0007;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 520px) {
  .device {
    width: min(412px, 100vw, calc(100dvh * 0.44929));
    height: min(917px, 100dvh, calc(100vw * 2.22573));
  }
}
@media (max-height: 720px) {
  .travel-pass {
    height: 360px;
  }
  .portrait {
    width: 95px;
    height: 95px;
    margin-top: 22px;
  }
  .location-sheet h1 {
    font-size: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.discussion-sheet {
  padding-bottom: 92px;
}
.composer {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: calc(8px + env(safe-area-inset-bottom));
  width: auto;
  z-index: 8;
  background: #201f29f5;
}
.peek-copy h2 {
  max-width: 185px;
  font-size: 21px;
  line-height: 0.96;
  overflow-wrap: anywhere;
}
.map-art {
  filter: none;
}

.form-sheet .sheet-title h1 {
  margin-bottom: 20px;
}
.shot-placeholder {
  border: 1px dashed #5a5668;
  border-radius: 19px;
  background: #171621;
}

.discussion-sheet {
  padding: 0 24px 96px;
}
.discussion-tail {
  height: 25px;
  margin: 2px 0 8px;
  color: #aaa5b9;
  font-size: 12px;
}
.discussion-sheet .author-line {
  margin: 6px 0 14px;
}
.discussion-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 26px;
}
.discussion-actions button {
  height: 50px;
  font-size: 14px;
}
.discussion-title {
  margin: 0 0 13px;
  font: 900 16px var(--display);
}
.discussion-title small {
  font: 12px var(--mono);
  color: #d7d1e2;
}
.main-comment {
  margin-bottom: 9px;
}
.nested-replies {
  margin: 0 0 7px 12px;
  padding-left: 14px;
  border-left: 1px solid #565264;
}
.nested-replies .comment {
  margin-bottom: 10px;
}
.reply-meta {
  display: inline-block;
  margin-bottom: 2px;
  color: #9994a7;
  font-size: 10px;
}
.discussion-sheet .show-more {
  display: block;
  margin: 2px 0 13px;
}
.discussion-sheet .composer {
  left: 24px;
  right: 24px;
}
.portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.photo-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff54;
}
.photo-dots button.on {
  background: #e9e3fa;
}
.after-thread {
  margin-top: 12px;
}
.pass-scenery {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.16;
  pointer-events: none;
}
.pass-top,
.portrait,
.travel-pass h2,
.travel-pass > p,
.progress-track,
.progress-value,
.city-stamp {
  z-index: 1;
}
.cluster-marker {
  width: 43px;
  height: 43px;
  background: var(--pink);
  color: #17121b;
  font: 900 16px var(--mono);
}
.map-marker.cluster-marker.selected {
  width: 54px;
  height: 54px;
}
/* Reference map and brand are standalone Figma source artwork. */
:root {
  --bg: #101121;
  --pink: #ff8997;
}
.device {
  width: 412px;
  height: 917px;
  transform: scale(var(--app-scale, 1));
  transform-origin: center;
  background: #101121;
}
.map-layer {
  inset: 0;
}
.map-art {
  position: absolute;
  top: -150px;
  left: -150px;
  width: calc(100% + 450px);
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.brand {
  width: 155px;
  height: 46px;
  gap: 0;
}
.brand img {
  display: block;
  width: 155px;
  height: 46px;
  object-fit: contain;
  transform: translateY(2px);
}
.map-add {
  bottom: 111px;
}
.map-add.compact {
  bottom: 272px;
}
.map-scene:after {
  background: linear-gradient(
    180deg,
    #101121a8 0%,
    #10112124 15%,
    transparent 23%,
    transparent 100%
  );
}
.device {
  transform-origin: top center;
}

@keyframes screen-enter {
  from {
    opacity: 0;
    translate: 0 7px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-5px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes pin-drop {
  from {
    opacity: 0;
    translate: 0 -12px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.device > .topbar,
.device > .map-scene,
.device > .scroll-sheet,
.device > .tabbar,
.device > .primary,
.device > .place-peek,
.device > .bottom-sheet {
  animation: screen-enter 0.24s ease-out both;
}
.map-add:active,
.tabbar button:active,
.map-controls button:active,
.primary:active,
.outline:active {
  scale: 0.96;
}
@media (prefers-reduced-motion: reduce) {
  .device > *,
  .picked-marker,
  .map-filter-menu {
    animation: none !important;
  }
}

/* Passport artwork uses the isolated Figma source models; text and user data stay live. */
.travel-pass {
  height: 380px;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: url("/assets/passport-card-bg.png") center / 100% 100% no-repeat;
  box-shadow: none;
}
.travel-pass::before,
.pass-top,
.pass-scenery {
  display: none !important;
}
.travel-pass .portrait {
  position: absolute;
  top: 72px;
  left: 50%;
  width: 116px;
  height: 116px;
  margin: 0;
  transform: translateX(-50%);
  border: 3px double #332d29;
  background: #e9dccb;
  box-shadow: 0 0 0 2px #e9dccb;
}
.travel-pass h2 {
  position: absolute;
  top: 199px;
  left: 22px;
  right: 22px;
  margin: 0;
  overflow: hidden;
  text-overflow: clip;
  font-size: clamp(19px, 6.2vw, 26px);
  line-height: 1;
  letter-spacing: -0.25px;
}
.travel-pass > p {
  position: absolute;
  top: 247px;
  left: 0;
  right: 0;
  margin: 0;
  font: 12px/16px var(--mono);
}
.travel-pass .progress-track {
  position: absolute;
  top: 271px;
  left: 32px;
  right: 32px;
  height: 6px;
  background: #a09385;
}
.travel-pass .progress-track i {
  background: #352c28;
}
.travel-pass .progress-value {
  position: absolute;
  top: 282px;
  left: 0;
  right: 0;
  margin: 0;
  font: 900 25px/30px var(--display);
}
.stamp {
  width: 95px;
  height: 96px;
  flex: 0 0 95px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent var(--stamp-art) center / 100% 100% no-repeat;
  color: transparent;
  font-size: 0;
  filter: none;
}
.stamp.coral,
.stamp.lilac,
.stamp.yellow,
.stamp.green,
.stamp.blue,
.stamp.violet,
.stamp.locked {
  background-color: transparent;
}
.stamp:hover,
.stamp:active {
  transform: translateY(-2px) scale(1.02);
}
.stamp.coral,
.stamp.lilac,
.stamp.yellow,
.stamp.green,
.stamp.blue,
.stamp.violet,
.stamp.locked {
  background-image: var(--stamp-art);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
