:root {
  color-scheme: light;
  --hood-bg: rgba(255, 255, 255, 0.82);
  --hood-border: rgba(17, 17, 17, 0.16);
  --button-bg: rgba(255, 255, 255, 0.92);
  --button-border: rgba(17, 17, 17, 0.24);
  --button-text: #101010;
  --cloud-sub-font-size: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  position: relative;
  cursor: default;
}

.hood {
  position: fixed;
  top: 16px;
  left: 16px;
  display: inline-flex;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--hood-border);
  border-radius: 999px;
  background: var(--hood-bg);
  backdrop-filter: blur(12px);
  z-index: 20;
}

.hood button {
  appearance: none;
  border: 1px solid var(--button-border);
  background: var(--button-bg);
  color: var(--button-text);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.hood button:hover {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.36);
}

.hood button:active {
  transform: translateY(1px);
}

#attribution {
  position: fixed;
  left: 50%;
  bottom: 10px;
  z-index: 10;
  width: min(620px, calc(100vw - 24px));
  margin: 0;
  color: rgba(0, 0, 0, 0.52);
  font-size: var(--cloud-sub-font-size);
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 0 6px #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

@media (max-width: 640px) {
  .hood {
    top: 12px;
    left: 12px;
    right: 12px;
    justify-content: center;
  }

  .hood button {
    flex: 1 1 auto;
  }
}
