:root {
  --ink: #0b1020;
  --navy: #101a33;
  --text: #d9dde8;
  --dim: #8b93a7;
  --fire: #ffb347;
  --paper: #f3e6c9;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  background: var(--ink);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
#lake {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}
#lake.dragging { cursor: grabbing; }

.top {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: calc(16px + env(safe-area-inset-top)) 16px 0;
  pointer-events: none;
}
.logo {
  pointer-events: auto;
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  letter-spacing: 0.5em;
  opacity: 0.85;
  white-space: nowrap;
}
.count {
  font-size: 12px;
  color: var(--dim);
  text-align: right;
  line-height: 1.5;
  max-width: 60vw;
}
.count small { display: block; font-size: 11px; opacity: 0.8; }

.bottom {
  position: fixed; left: 0; right: 0;
  bottom: calc(24px + env(safe-area-inset-bottom));
  display: flex; justify-content: center;
  pointer-events: none;
}
.cta {
  pointer-events: auto;
  appearance: none;
  border: 1px solid rgba(255, 179, 71, 0.45);
  background: rgba(11, 16, 32, 0.6);
  color: var(--paper);
  font: inherit;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.cta:active { background: rgba(255, 179, 71, 0.15); }

@media (min-width: 768px) {
  .top { padding-left: 24px; padding-right: 24px; }
  .logo { font-size: 20px; }
  .count { font-size: 14px; }
  .count small { font-size: 12px; }
}
