:root {
  color-scheme: dark;
}

body.dustline-page {
  margin: 0;
  background: #0a0c0c;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: system-ui, sans-serif;
}

.dustline-rail {
  width: 160px;
  min-height: 600px;
  display: none;
}

.dustline-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 90px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}

@media (min-width: 1100px) {
  .dustline-rail {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

#unity-container {
  position: relative;
  z-index: 2;
}

#dustline-ad-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#dustline-ad-overlay.visible {
  display: flex;
}

.dustline-overlay-panel {
  background: #14110f;
  border: 1px solid #3a2f28;
  border-radius: 12px;
  padding: 20px;
  width: min(92vw, 420px);
  text-align: center;
  color: #f5eedf;
}

.dustline-overlay-title {
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: #e0a060;
}

.dustline-overlay-ad {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.dustline-ad-placeholder {
  color: #9a9088;
  font-size: 14px;
  line-height: 1.5;
}

#dustline-overlay-continue {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: #1a5558;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

#dustline-overlay-continue:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
