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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-user-select: none;
  user-select: none;
  cursor: none;
}

body.show-cursor,
body.show-cursor * {
  cursor: auto;
}

.stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: var(--bg, #000);
}

.slide-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-ms, 600ms) ease;
  pointer-events: none;
}

.slide-layer.active {
  opacity: 1;
}

.slide-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.slide-media.hidden {
  display: none;
}

.slide-layer.contain .slide-media {
  object-fit: contain;
}

.slide-layer.cover .slide-media {
  object-fit: cover;
}

.title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(196, 168, 130, 0.15), transparent);
}

.empty-card {
  max-width: 420px;
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: rgba(232, 224, 212, 0.08);
  border: 1px solid rgba(232, 224, 212, 0.12);
  backdrop-filter: blur(12px);
}

.empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232, 224, 212, 0.25), rgba(196, 168, 130, 0.15));
  display: grid;
  place-items: center;
  color: #e8e0d4;
}

.empty-icon svg {
  width: 28px;
  height: 28px;
}

.empty-card h2 {
  color: #f4f6fb;
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hint {
  color: #8b93a7;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.steps-list {
  text-align: left;
  color: #b8bfcc;
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0 auto 1.5rem;
  max-width: 240px;
  padding-left: 1.25rem;
}

.steps-list strong {
  color: #e2e8f0;
}

.empty-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8e0d4, #c4a882);
  color: #1a1814;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.hud {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(8, 7, 6, 0.72);
  backdrop-filter: blur(18px);
}

.hud.hidden {
  display: none !important;
}

.hud-card {
  max-width: 560px;
  text-align: center;
  color: #f4f0ea;
}

.hud-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 16px;
  background: rgba(232, 224, 212, 0.12);
  display: grid;
  place-items: center;
  color: #e8e0d4;
}

.hud-logo svg {
  width: 28px;
  height: 28px;
}

.hud-card h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.hud-lead {
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.hud-steps {
  text-align: left;
  line-height: 1.8;
  font-size: 0.95rem;
  opacity: 0.9;
  max-width: 460px;
  margin: 0 auto 1.75rem;
  padding-left: 1.25rem;
}

.hud-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hud-cta {
  border: 0;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8e0d4, #c4a882);
  color: #1a1814;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.hud-cta.secondary {
  background: rgba(232, 224, 212, 0.12);
  color: #f4f0ea;
}

.present-dialog {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(8, 7, 6, 0.78);
  backdrop-filter: blur(18px);
}

.present-card {
  width: min(420px, 100%);
  text-align: left;
  color: #f4f0ea;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 18px;
  background: rgba(28, 24, 20, 0.94);
  border: 1px solid rgba(232, 224, 212, 0.12);
}

.present-card h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.present-lead,
.present-hint {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.present-hint {
  font-size: 0.8rem;
  margin: 0.25rem 0 1.1rem;
}

.present-error {
  font-size: 0.875rem;
  color: #f0b4a8;
  margin-bottom: 0.85rem;
}

.present-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.present-field select {
  font: inherit;
  font-weight: 400;
  color: #f4f0ea;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 224, 212, 0.18);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}

.present-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

.hud-link {
  color: #e8e0d4;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
}

.hud-note,
.hud-keys {
  font-size: 0.8125rem;
  opacity: 0.55;
  margin-top: 0.35rem;
}

.status {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
}

.hidden {
  display: none !important;
}
