* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Georgia, serif;
  background: #fff;
  color: #111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 2rem;
  border-bottom: 1px solid #e5e5e5;
}

h1 {
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: -0.5px;
}

h1 span {
  color: #888;
}

main {
  flex: 1;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

button {
  background: #111;
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-family: Georgia, serif;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.15s;
}

button:hover {
  background: #333;
}

button:disabled {
  background: #999;
  cursor: not-allowed;
}

.location-name {
  font-size: 0.85rem;
  color: #555;
  font-style: italic;
}

a.maps-link {
  font-size: 0.8rem;
  color: #999;
  text-decoration: none;
  margin-left: auto;
}

a.maps-link:hover {
  color: #111;
}

a.maps-link.hidden {
  visibility: hidden;
}

.map-wrap {
  position: relative;
  flex: 1;
  height: calc(100vh - 160px);
  min-height: 500px;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
}

.placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.85rem;
  z-index: 10;
  background: #f5f5f5;
  transition: opacity 0.3s;
}

.placeholder.hidden {
  opacity: 0;
  pointer-events: none;
}

iframe {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 160px);
  border: none;
  display: block;
  opacity: 0;
  transition: opacity 0.4s;
}

iframe.loaded {
  opacity: 1;
}

footer {
  padding: 1rem 2rem;
  border-top: 1px solid #e5e5e5;
  font-size: 0.75rem;
  color: #bbb;
}
