:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #091013;
  color: #f6f3e8;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
}

#app {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% 35%, rgba(48, 134, 122, 0.22), transparent 34%),
    linear-gradient(130deg, #071014 0%, #132328 52%, #0d1512 100%);
}

#globe {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

#globe:active {
  cursor: grabbing;
}

.panel {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  width: min(380px, calc(100vw - 48px));
  padding: 22px;
  color: #f8f3e6;
  background: rgba(8, 15, 17, 0.76);
  border: 1px solid rgba(240, 228, 194, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #a9dacd;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mark {
  width: 18px;
  height: 18px;
  border: 2px solid #6ee7d5;
  border-radius: 50%;
  box-shadow: inset -7px 0 0 rgba(110, 231, 213, 0.28);
}

h1 {
  margin: 0 0 20px;
  max-width: 11ch;
  font-size: clamp(2.1rem, 4.2vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

button {
  appearance: none;
  min-height: 38px;
  padding: 0 14px;
  color: #071014;
  background: #f4d16a;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  background: #ffe18a;
}

button:last-child {
  color: #f8f3e6;
  background: rgba(255, 255, 255, 0.12);
}

button:last-child:hover {
  background: rgba(255, 255, 255, 0.18);
}

dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: baseline;
}

dt {
  font-weight: 800;
}

dd {
  margin: 0;
  color: rgba(248, 243, 230, 0.74);
  font-size: 0.92rem;
}

#status {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  color: rgba(248, 243, 230, 0.78);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .panel {
    top: 12px;
    left: 12px;
    width: calc(100vw - 24px);
    padding: 16px;
  }

  h1 {
    max-width: 15ch;
    margin-bottom: 14px;
    font-size: 2.1rem;
  }

  #status {
    right: 12px;
    bottom: 12px;
  }
}
