/* Déšť na okně: night city behind a misted window, site palette (blue and gold) */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #0a1228;
  color: #eaf2fa;
  font-family: "Quicksand", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

#glass {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}

.hint {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 12px 22px;
  border-radius: 16px;
  color: rgba(234, 242, 250, 0.85);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
  user-select: none;
  background: rgba(10, 18, 40, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 200, 114, 0.25);
  transition: opacity 1.6s ease 1.5s;
}
.hint.hidden { opacity: 0; }

.snd {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 5;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  color: #eaf2fa;
  cursor: pointer;
  background: rgba(10, 18, 40, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 200, 114, 0.3);
  transition: background 200ms ease, color 200ms ease;
}
.snd:hover { background: rgba(232, 200, 114, 0.9); color: #0a1228; }

.snd.mode { top: 64px; }

body.preview .hint, body.preview .snd { display: none; }
