:root {
  --paper: #f5f3ec;
  --ink: #25372e;
  --muted: #6b746c;
  --line: #d7dcd1;
  --accent: #d7eea6;
  --white: #fffef9;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body {
  overflow: hidden;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #527f37;
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
.masthead {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 4;
  background: var(--paper);
}
.wordmark {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}
.wordmark svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}
.wordmark-dot {
  color: #6d9042;
}
.wordmark small {
  display: block;
  font: 8px var(--mono);
  letter-spacing: 2.4px;
  margin-top: 7px;
}
.view-switch {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  background: #e7e9df;
  padding: 4px;
  border-radius: 7px;
  gap: 2px;
}
.view-switch button {
  padding: 12px 20px;
  min-height: 44px;
  border-radius: 4px;
  font-size: 12px;
}
.view-switch button[aria-pressed='true'] {
  background: var(--white);
  box-shadow: 0 1px 3px #26352213;
}
.quiet-button,
.accent-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 12px;
  border-radius: 4px;
}
.quiet-button:hover {
  background: #2635220b;
}
.accent-button {
  background: var(--ink);
  color: var(--white);
}
.accent-button:hover {
  background: #36513e;
}
.outline-button {
  border: 1px solid var(--line);
}
.outline-button:hover {
  background: #e8ecdf;
}
.wide {
  width: 100%;
  margin-top: 18px;
}
.skip {
  position: fixed;
  z-index: 20;
  top: -60px;
  padding: 12px;
  background: var(--paper);
}
.skip:focus {
  top: 5px;
}
#map-view {
  position: relative;
  height: calc(100svh - 88px);
  min-height: 350px;
}
#map {
  position: absolute;
  inset: 0;
  background: #c8d9dd;
}
.collection-panel {
  position: absolute;
  z-index: 2;
  left: 24px;
  top: 24px;
  width: 286px;
  max-height: calc(100% - 86px);
  overflow: auto;
  scrollbar-width: thin;
  background: var(--paper);
  border: 1px solid #fff9;
  box-shadow: 0 4px 28px #20362917;
  border-radius: 5px;
}
.panel-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 23px 0;
  font: 9px var(--mono);
  letter-spacing: 1.3px;
  min-height: 40px;
}
#panel-content {
  padding: 0 23px;
}
.collection-panel h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 54px;
  letter-spacing: -2.5px;
  margin: 15px 0 12px;
  line-height: 1.05;
}
.collection-panel h1 span {
  color: #7a934d;
}
.intro {
  font-size: 13px;
  line-height: 1.65;
  color: #58655a;
  margin: 0;
}
.byline {
  font: 8px var(--mono);
  letter-spacing: 1.45px;
  margin: 19px 0 26px;
}
.collection-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.collection-counts div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.collection-counts strong {
  font-size: 25px;
  font-family: var(--serif);
  font-weight: 400;
}
.collection-counts span,
.list-heading,
.panel-bottom {
  font: 8px var(--mono);
  letter-spacing: 1px;
}
.list-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
}
.text-button {
  font: 10px var(--sans);
  text-decoration: underline;
  min-height: 32px;
  padding: 0 3px;
}
.places-list {
  margin-top: 10px;
  max-height: 230px;
  overflow: auto;
}
.place-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.place-row:hover .place-name {
  color: #5c773c;
}
.place-thumb {
  width: 42px;
  height: 45px;
  border-radius: 2px;
  object-fit: cover;
  background: #e5e9dc;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.place-copy {
  flex: 1;
  min-width: 0;
}
.place-name {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.place-subtitle {
  font: 8px var(--mono);
  letter-spacing: 0.6px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.place-arrow {
  font-size: 16px;
}
.collection-empty {
  text-align: center;
  padding: 23px 0;
}
.collection-empty svg {
  width: 76px;
  height: 38px;
  fill: none;
  stroke: #9aab89;
  stroke-width: 1;
}
.collection-empty p {
  font-size: 11px;
  margin: 12px 0 7px;
}
.collection-empty span {
  font-size: 10px;
  color: var(--muted);
}
.demo-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #e3e8d7;
  border: 1px solid #d7ddcc;
  text-align: left;
  padding: 14px;
  border-radius: 3px;
  margin-top: 8px;
  font-size: 12px;
}
.demo-button:hover {
  background: #d9e3c9;
}
.demo-button small {
  display: block;
  font: 7px var(--mono);
  letter-spacing: 1.2px;
  margin-bottom: 7px;
  color: #63764e;
}
.demo-button > span:last-child {
  font-size: 22px;
}
.panel-bottom {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 19px 0;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.7px;
}
.panel-bottom #signout {
  margin-left: auto;
}
.live-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #789857;
  flex-shrink: 0;
}
.camera-controls {
  position: absolute;
  z-index: 2;
  right: 24px;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.control-group {
  background: var(--paper);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 3px 15px #25372e17;
}
.control-group button {
  display: block;
  width: 44px;
  height: 44px;
  font-size: 22px;
  border-bottom: 1px solid var(--line);
}
.control-group button:last-child {
  border-bottom: 0;
}
.control-group button:hover {
  background: #e3e8d7;
}
#north-button {
  font: 12px var(--mono);
}
#compass {
  display: block;
}
.orbit-button {
  padding: 10px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 22px;
  background: var(--paper);
  border-radius: 4px;
}
.orbit-button span {
  font: 8px var(--mono);
}
.orbit-button[aria-pressed='true'] {
  background: var(--accent);
}
.terrain-settings {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 65px;
  padding: 12px;
  background: var(--paper);
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.terrain-settings label,
.terrain-settings output {
  font: 8px var(--mono);
  letter-spacing: 0.6px;
}
.terrain-settings input {
  width: 70px;
  accent-color: #607e47;
}
.map-caption {
  position: absolute;
  z-index: 1;
  bottom: 36px;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: #2b4336;
  text-shadow:
    0 1px 4px #fff,
    0 -1px 4px #fff;
}
.map-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 16px 24px;
  background: var(--paper);
  border-radius: 4px;
  z-index: 1;
  font-size: 13px;
  box-shadow: 0 5px 30px #26352220;
  max-width: 80%;
  text-align: center;
}
.maplibregl-ctrl-attrib {
  font-size: 9px !important;
  background: #f5f3ecee !important;
}
.maplibregl-marker-covered {
  pointer-events: none !important;
}
.maplibregl-canvas:focus {
  outline: none;
}
.photo-pin {
  border: 2px solid white;
  padding: 0;
  width: 48px;
  height: 52px;
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 3px 12px #17231f55;
  transition:
    width 0.2s,
    height 0.2s;
  position: relative;
}
.photo-pin:after,
.place-pin:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: calc(50% - 6px);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid white;
}
.photo-pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.photo-pin:hover {
  width: 62px;
  height: 67px;
  z-index: 3;
}
.place-pin {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 2px 10px #0003;
  border: 2px solid white;
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 11px;
  position: relative;
}
.gps-marker {
  width: 22px;
  height: 22px;
  background: #d7eea6;
  border: 4px solid #243a2b;
  border-radius: 50%;
  box-shadow:
    0 0 0 7px #d7eea65c,
    0 2px 8px #0003;
  pointer-events: none;
}
.replay-panel {
  position: absolute;
  z-index: 3;
  bottom: 73px;
  left: 50%;
  transform: translateX(-30%);
  width: min(520px, calc(100% - 48px));
  padding: 18px 22px;
  background: var(--paper);
  border-radius: 5px;
  box-shadow: 0 4px 30px #24362625;
}
.replay-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.eyebrow {
  font: 9px var(--mono);
  letter-spacing: 1.5px;
  color: var(--muted);
}
.replay-heading h2 {
  font: 23px var(--serif);
  margin: 7px 0 16px;
  letter-spacing: -0.4px;
}
.icon-button {
  width: 34px;
  height: 34px;
  min-width: 34px;
  font-size: 23px;
}
.replay-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.play-button {
  height: 40px;
  width: 40px;
  min-width: 40px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 50%;
  font-size: 12px;
}
.scrubber {
  flex: 1;
  min-width: 0;
}
.scrubber input {
  width: 100%;
  accent-color: #547342;
  height: 24px;
  margin: 0;
}
.scrubber > div {
  display: flex;
  justify-content: space-between;
  font: 8px var(--mono);
  color: var(--muted);
}
.speed-button,
.follow-button {
  font-size: 10px;
  min-height: 40px;
}
.follow-button {
  border: 1px solid var(--line);
  padding: 6px 9px;
  border-radius: 3px;
}
.follow-button[aria-pressed='true'] {
  background: #e0e8d3;
}
.replay-note {
  font-size: 9px;
  color: var(--muted);
  margin: 12px 0 0;
}
.wall-view {
  height: calc(100svh - 88px);
  overflow: auto;
  padding: 60px max(32px, 6vw) 25px;
}
.wall-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}
.wall-heading h2 {
  font: clamp(38px, 4.5vw, 65px)/1.1 var(--serif);
  font-weight: 400;
  letter-spacing: -2px;
  margin: 20px 0 0;
}
.wall-heading h2 em {
  color: #79945d;
  font-weight: 400;
}
.wall-heading > p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.wall-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.filters {
  display: flex;
  gap: 24px;
}
.filters button {
  font-size: 11px;
  min-height: 50px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
}
.filters button[aria-pressed='true'] {
  border-bottom-color: var(--ink);
  color: var(--ink);
}
#wall-count {
  font: 9px var(--mono);
  color: var(--muted);
}
.photo-grid {
  columns: 3;
  column-gap: 22px;
}
.photo-card {
  break-inside: avoid;
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 28px;
  text-align: left;
}
.photo-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 2px;
  transition: filter 0.2s;
}
.photo-card:hover img {
  filter: brightness(0.93);
}
.photo-card .photo-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  font-size: 11px;
}
.photo-card-meta small {
  font: 8px var(--mono);
  color: var(--muted);
}
.wall-empty {
  text-align: center;
  padding: 35px 0 65px;
}
.wall-empty svg {
  width: 110px;
  fill: none;
  stroke: #9aaa8c;
  stroke-width: 1;
}
.wall-empty h3 {
  font: 27px var(--serif);
  font-weight: 400;
}
.wall-empty p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.wall-empty button {
  margin-top: 12px;
}
.wall-footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 0 0;
  border-top: 1px solid var(--line);
  font: 8px var(--mono);
  letter-spacing: 0.7px;
}
.small-dialog,
.photo-dialog {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  max-height: 90svh;
  overflow: auto;
  width: min(440px, calc(100% - 28px));
  box-shadow: 0 20px 80px #12201840;
}
.small-dialog::backdrop,
.photo-dialog::backdrop {
  background: #14231bb8;
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 40px;
  height: 40px;
  font-size: 28px;
  z-index: 1;
}
.small-dialog h2 {
  font: 36px/1.15 var(--serif);
  letter-spacing: -1px;
  font-weight: 400;
  margin: 20px 0;
}
.small-dialog > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.apple-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  background: #17251d;
  color: white;
  border-radius: 4px;
  font-size: 15px;
  margin-top: 24px;
}
.apple-button svg {
  height: 20px;
  width: 20px;
  fill: currentColor;
}
.apple-button[aria-disabled='true'] {
  pointer-events: none;
  opacity: 0.45;
}
.form-note {
  font-size: 11px !important;
  color: var(--muted);
  line-height: 1.6;
}
.add-choice {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  width: 100%;
}
.add-choice > span:first-child {
  font-size: 25px;
}
.add-choice > span:last-child {
  margin-left: auto;
}
.add-choice strong {
  font-size: 13px;
  font-weight: 500;
}
.add-choice small {
  display: block;
  font-size: 10px;
  margin-top: 6px;
  color: var(--muted);
}
.photo-dialog {
  padding: 0;
  max-width: 1080px;
  width: calc(100% - 48px);
}
.photo-stage {
  background: #1d2922;
  display: grid;
  place-items: center;
  min-height: 180px;
}
.photo-stage img {
  display: block;
  max-width: 100%;
  max-height: 68svh;
  object-fit: contain;
}
.photo-dialog .dialog-close {
  color: white;
  background: #24362dcc;
  border-radius: 50%;
}
.photo-details {
  padding: 24px 32px;
}
.photo-details h2 {
  font: 30px var(--serif);
  margin: 10px 0;
}
.photo-details p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.photo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mono {
  font: 10px var(--mono) !important;
}
.danger {
  color: #8e463b;
}
.field-label {
  display: block;
  font-size: 11px;
  margin: 17px 0 7px;
}
.field-label span {
  color: var(--muted);
  margin-left: 5px;
}
.text-input {
  padding: 11px 12px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  resize: vertical;
}
.check-field {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 16px;
}
.check-field input {
  accent-color: var(--ink);
  width: 16px;
  height: 16px;
}
.import-preview-image {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  background: #e4e8db;
}
.import-preview-track {
  padding: 20px;
  background: #e4e8db;
  font-size: 12px;
  line-height: 1.8;
}
.placement-bar {
  position: absolute;
  z-index: 5;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 16px;
  box-shadow: 0 5px 25px #0002;
  max-width: calc(100% - 32px);
  width: max-content;
  font-size: 12px;
}
.crosshair {
  position: absolute;
  pointer-events: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  color: #25372e;
  text-shadow:
    1px 1px white,
    -1px -1px white;
}
.toast {
  position: fixed;
  z-index: 20;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  background: #25372e;
  color: #fffef9;
  padding: 14px 22px;
  font-size: 12px;
  border-radius: 4px;
  box-shadow: 0 5px 25px #0003;
  max-width: calc(100% - 32px);
  text-align: center;
  line-height: 1.5;
}
.noscript {
  position: fixed;
  z-index: 30;
  top: 45%;
  left: 10%;
  right: 10%;
  padding: 25px;
  background: var(--paper);
  text-align: center;
}
@media (min-width: 1500px) {
  .collection-panel {
    left: 36px;
    top: 36px;
    width: 310px;
  }
  .camera-controls {
    right: 36px;
    top: 36px;
  }
  .collection-panel h1 {
    font-size: 60px;
  }
}
@media (max-width: 1000px) {
  .replay-panel {
    left: auto;
    right: 82px;
    transform: none;
    width: 420px;
  }
  .wall-heading > p {
    max-width: 190px;
  }
  .photo-grid {
    columns: 2;
  }
  .collection-panel {
    width: 260px;
  }
  .collection-panel h1 {
    font-size: 49px;
  }
  .terrain-settings {
    bottom: 47px;
  }
  .map-caption > span:last-child {
    display: none;
  }
}
@media (max-width: 700px) {
  .masthead {
    height: 74px;
    padding: 0 15px;
  }
  .wordmark {
    font-size: 22px;
    gap: 8px;
  }
  .wordmark svg {
    width: 27px;
  }
  .wordmark small {
    font-size: 6px;
    letter-spacing: 1.7px;
  }
  .view-switch {
    position: static;
    transform: none;
    padding: 3px;
    gap: 0;
    margin-left: auto;
    margin-right: 9px;
  }
  .view-switch button {
    font-size: 10px;
    padding: 8px 11px;
    min-height: 38px;
  }
  #manage-button {
    font-size: 10px;
    padding: 6px;
  }
  #manage-button span {
    display: none;
  }
  #add-button {
    font-size: 0;
    width: 37px;
    padding: 0;
    min-height: 38px;
  }
  #add-button span {
    font-size: 22px;
  }
  #map-view,
  .wall-view {
    height: calc(100svh - 74px);
  }
  .collection-panel {
    left: 12px;
    top: 12px;
    width: 211px;
    max-height: calc(100% - 92px);
  }
  .panel-toggle {
    padding: 12px 15px 0;
    font-size: 7px;
    min-height: 32px;
  }
  #panel-content {
    padding: 0 15px;
  }
  .collection-panel h1 {
    font-size: 39px;
    margin: 10px 0;
  }
  .intro {
    font-size: 11px;
  }
  .byline {
    font-size: 6px;
    margin: 14px 0 16px;
    letter-spacing: 1px;
  }
  .collection-counts {
    padding: 13px 0;
  }
  .collection-counts strong {
    font-size: 23px;
  }
  .collection-counts span {
    font-size: 7px;
  }
  .list-heading {
    font-size: 7px;
    padding-top: 17px;
  }
  .collection-empty {
    padding: 15px 0;
  }
  .collection-empty svg {
    height: 28px;
  }
  .collection-empty p {
    font-size: 10px;
  }
  .collection-empty span {
    font-size: 9px;
  }
  .demo-button {
    padding: 11px;
    font-size: 10px;
  }
  .demo-button small {
    font-size: 6px;
  }
  .panel-bottom {
    font-size: 6px;
    padding: 14px 0;
  }
  .places-list {
    max-height: 170px;
  }
  .place-name {
    font-size: 10px;
  }
  .place-thumb {
    width: 34px;
    height: 36px;
  }
  .camera-controls {
    top: 12px;
    right: 12px;
    gap: 8px;
  }
  .control-group button {
    width: 40px;
    height: 40px;
  }
  .orbit-button {
    font-size: 20px;
  }
  .terrain-settings {
    right: 12px;
    bottom: 52px;
    gap: 7px;
    padding: 9px;
  }
  .terrain-settings input {
    width: 52px;
  }
  .map-caption {
    left: 14px;
    bottom: 32px;
    font-size: 7px;
  }
  .replay-panel {
    width: calc(100% - 24px);
    left: 12px;
    right: 12px;
    bottom: 87px;
    padding: 15px;
  }
  .replay-heading h2 {
    font-size: 21px;
  }
  .replay-controls {
    gap: 10px;
  }
  .replay-note {
    font-size: 8px;
  }
  .replaying .collection-panel {
    max-height: calc(100% - 285px);
  }
  .replaying .panel-toggle {
    padding-bottom: 12px;
  }
  .wall-view {
    padding: 30px 18px 22px;
  }
  .wall-heading {
    display: block;
    margin-bottom: 25px;
  }
  .wall-heading h2 {
    font-size: 40px;
    letter-spacing: -1.5px;
  }
  .wall-heading > p {
    max-width: none;
    font-size: 11px;
    margin-top: 22px;
  }
  .wall-toolbar {
    gap: 10px;
  }
  .filters {
    gap: 15px;
  }
  .filters button {
    font-size: 9px;
    min-height: 46px;
  }
  #wall-count {
    font-size: 8px;
  }
  .photo-grid {
    column-gap: 12px;
  }
  .photo-card {
    margin-bottom: 13px;
  }
  .photo-card .photo-card-meta {
    font-size: 9px;
    padding: 9px 0;
  }
  .photo-card-meta small {
    display: none;
  }
  .photo-dialog {
    width: calc(100% - 20px);
  }
  .photo-stage img {
    max-height: 55svh;
  }
  .photo-details {
    padding: 20px;
  }
  .photo-details h2 {
    font-size: 25px;
  }
  .placement-bar {
    width: calc(100% - 24px);
    padding: 12px;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 11px;
    bottom: 82px;
  }
  .placement-bar > span {
    width: 100%;
  }
  .small-dialog {
    padding: 28px 24px;
  }
  .small-dialog h2 {
    font-size: 32px;
  }
  .wall-footer {
    font-size: 7px;
  }
  .toast {
    bottom: 15px;
    width: max-content;
  }
  .maplibregl-ctrl-attrib {
    font-size: 8px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.place-entry {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.place-entry .place-row {
  flex: 1;
  min-width: 0;
  border-bottom: 0;
}
.place-options {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  font-size: 20px;
}
.edit-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}
.speed-button {
  min-width: 44px;
}
.icon-button {
  min-width: 44px;
  min-height: 44px;
}
.control-group button {
  min-width: 44px;
  min-height: 44px;
}
@media (max-width: 700px) {
  .view-switch button {
    min-height: 44px;
  }
  .replay-controls {
    gap: 8px;
  }
  .speed-button,
  .follow-button {
    min-height: 44px;
  }
  #manage-button {
    min-height: 44px;
  }
}
