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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.page-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.brand-title {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #999999;
  user-select: none;
}

.brand-tagline {
  font-size: 13px;
  color: #aaaaaa;
  font-style: italic;
  user-select: none;
  margin-bottom: 4px;
}

.canvas-wrap {
  position: relative;
}

.brand-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.brand-hint, .brand-copy {
  font-size: 12px;
  color: #aaaaaa;
  user-select: none;
}

.brand-copy {
  color: #bbbbbb;
}

canvas {
  display: block;
  cursor: default;
}

#entry-hint {
  position: absolute;
  right: calc(100% + 6px);
  top: 12px;
  transform: translateY(-50%);
  color: #888888;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s;
}

#roaming-hint {
  position: absolute;
  right: calc(100% + 6px);
  top: 28px;
  transform: translateY(-50%);
  color: #888888;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s;
}

canvas.locked {
  cursor: none;
}

#roaming-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  display: none;
  z-index: 9999;
}

.mobile-notice {
  display: none;
}

@media (max-width: 700px), (hover: none) {
  .mobile-notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 24px;
  }

  .mobile-title {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #999999;
  }

  .mobile-text {
    font-size: 14px;
    color: #aaaaaa;
  }

  .container {
    display: none;
  }
}
