#focus-open,
#sled-enter,
#sled-status {
  position: absolute;
  bottom: calc(max(25px, env(safe-area-inset-bottom)) + 68px);
  left: 50%;
  transform: translateX(-50%);
  background: #2d493eea;
  color: #fff2d5;
}
#sled-status {
  padding: 10px 16px;
  font-size: 0.875rem;
  white-space: nowrap;
  pointer-events: none;
}
#focus-view {
  position: fixed;
  inset: 0;
  padding: 0;
  margin: 0;
  border: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  background: #142b2e;
  overflow: hidden;
  color: #fbf1d7;
}
#focus-view::backdrop {
  background: #102420;
}
#focus-view[data-scene="fire"] {
  background: #2e2922;
}
#focus-view[data-scene="bath"] {
  background: #334b4c;
}
#focus-view[data-scene="falls"] {
  background: #193833;
}
#focus-view[data-scene="stars"],
#focus-view[data-scene="moon"] {
  background: #121f2d;
}
.focus-image,
.focus-effects {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.focus-image {
  object-fit: cover;
  animation: focus-arrival 0.75s ease-out both;
}
.focus-effects {
  pointer-events: none;
}
#focus-view::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    #101d1dcf,
    transparent 23%,
    transparent 85%,
    #10201c42
  );
}
.focus-close,
.focus-controls {
  position: absolute;
  z-index: 1;
}
.focus-close,
.focus-controls button {
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 0;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  color: inherit;
  background: transparent;
  flex: none;
}
.focus-close {
  top: max(22px, env(safe-area-inset-top));
  right: max(22px, env(safe-area-inset-right));
  border-color: #eee7ce5e;
  background: #213a35b5;
  backdrop-filter: blur(8px);
}
.focus-close i {
  width: 20px;
  height: 20px;
}
.focus-controls {
  bottom: max(28px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: calc(100% - 24px);
}
.focus-audio {
  display: flex;
  align-items: center;
  border: 1px solid #f4e6c35e;
  background: #203733db;
  backdrop-filter: blur(14px);
  border-radius: 60px;
  padding: 4px;
  box-shadow: 0 4px 28px #101c1c42;
}
.focus-controls button svg {
  width: 23px;
  height: 23px;
}
.focus-controls .focus-action {
  width: 52px;
  height: 52px;
  border-color: #f3ddad;
  color: #264439;
  background: #f5ead0;
}
.focus-controls .focus-action:hover {
  background: #f9f2df;
}
.focus-action[aria-disabled="true"] {
  opacity: 0.58;
  cursor: default;
}
.map-lookout {
  display: grid;
  place-items: center;
  position: absolute;
  width: clamp(22px, 3.7vw, 34px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  color: #f7edce;
  background: #536b5b;
  border: 1px solid #f0e6c6;
  border-radius: 50%;
  pointer-events: auto;
  padding: 0;
  z-index: 1;
}
.map-lookout svg {
  width: 65%;
  height: 65%;
}
.focus-controls button:hover:not([aria-pressed="true"]) {
  background: #f4e6c328;
}
.focus-audio {
  padding-right: 13px;
}
.focus-audio input {
  width: clamp(45px, 10vw, 108px);
  height: 24px;
  margin: 0 2px;
  accent-color: #f3e3b5;
  cursor: pointer;
}
@keyframes focus-arrival {
  from {
    opacity: 0;
    transform: scale(1.044);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 550px) {
  #focus-open,
  #sled-enter,
  #sled-status {
    bottom: calc(max(18px, env(safe-area-inset-bottom)) + 62px);
  }
  .focus-controls {
    flex-wrap: wrap;
    justify-content: center;
    width: max-content;
    gap: 8px;
  }
  .focus-audio {
    padding-right: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .focus-image {
    animation: none;
  }
}
