:root {
  --bg-0: #07080a;
  --bg-1: #111317;
  --ink-hi: #d7dadf;
  --ink-mid: #6d7177;
  --ink-lo: #4a4e56;
  --accent: #e2382c;
  --accent2: #ff9f32;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink-hi);
  font-family: "Inter", system-ui, sans-serif;
  overflow: hidden;
  position: relative;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background-image: radial-gradient(
    ellipse 120% 70% at 18% 0%,
    var(--bg-1),
    var(--bg-0) 60%
  );
}
.stage {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 4vh, 40px);
  padding: clamp(20px, 5vh, 56px) 24px 24px;
}
.logo {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: clamp(20px, 3.2vw, 32px);
  color: var(--ink-mid);
  user-select: none;
}
.logo b {
  color: var(--ink-hi);
  font-weight: 700;
}
.logo .dot {
  color: var(--ink-lo);
}
.main {
  width: 100%;
  max-width: 1100px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vh, 28px);
}
.photo {
  position: relative;
  overflow: hidden;
  width: clamp(150px, 22vw, 230px);
  aspect-ratio: 9/16;
  /* background:var(--bg-0); */
  border-top: 3px solid #2a2d33;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-lo);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  border-radius: 9px;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.photo img.loaded {
  opacity: 1;
}
.photo .photo-fallback {
  position: relative;
  z-index: 1;
}
.drum-viewport {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.drum-viewport.grabbing {
  cursor: grabbing;
}
.drum-item {
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  color: var(--ink-hi);
  white-space: nowrap;
  will-change: transform, opacity;
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 2px 10px;
  border-radius: 4px;
  transition: color 0.2s ease;
}
.drum-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.hint {
  font-size: 12px;
  color: var(--ink-lo);
  letter-spacing: 0.03em;
  text-align: center;
}
@media (min-width: 760px) {
  .stage {
    flex-direction: row;
    align-items: flex-start;
    padding: clamp(28px, 5vh, 56px) clamp(24px, 5vw, 64px);
    gap: 0;
  }
  .logo {
    position: absolute;
    top: clamp(24px, 5vh, 48px);
    right: clamp(28px, 5vw, 64px);
  }
  .main {
    flex-direction: row;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    gap: clamp(24px, 5vw, 72px);
  }
  .photo {
    width: clamp(190px, 16vw, 260px);
  }
  .drum-viewport {
    height: min(60vh, 520px);
  }
  .hint {
    position: absolute;
    bottom: clamp(18px, 4vh, 32px);
    left: 0;
    right: 0;
  }
}
.five {
  color: var(--accent2);
}
