:root {
  --dl-accent: #2B2B2B;
  --dl-accent-2: #252525;
  --dl-bg: #F2F2F2;
  --dl-text: #252525;
  --dl-text-muted: #707070;
}

#desktop-landing {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: auto;
  background: var(--dl-bg);
  color: var(--dl-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
#desktop-landing[hidden] { display: none; }

.dl-bg,
.dl-overlay { display: none; }

.dl-content {
  position: relative;
  width: min(100%, 480px);
  border: 1px solid rgba(37, 37, 37, 0.14);
  border-radius: 10px;
  background: #fff;
  padding: 40px 36px 32px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(37, 37, 37, 0.14);
}
.dl-content::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -150px;
  top: -150px;
  border: 1px solid rgba(43, 43, 43, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(43, 43, 43, 0.04), 0 0 0 84px rgba(43, 43, 43, 0.03);
  pointer-events: none;
}
.dl-title {
  position: relative;
  margin: 0 0 10px;
  color: var(--dl-text);
  font-size: 42px;
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: lowercase;
}
.dl-subtitle {
  position: relative;
  margin: 0 0 28px;
  color: var(--dl-text-muted);
  font-size: 15px;
  line-height: 1.45;
}
.dl-qr-wrap { display: flex; justify-content: center; margin-bottom: 18px; }
.dl-qr {
  position: relative;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(37, 37, 37, 0.14);
  line-height: 0;
}
.dl-qr img,
.dl-qr canvas {
  display: block;
  width: 200px;
  height: 200px;
  image-rendering: pixelated;
}
.dl-instruction {
  margin: 0 0 12px;
  color: var(--dl-text-muted);
  font-size: 13px;
  line-height: 1.45;
}
.dl-url {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  border-radius: 8px;
  background: #F2F2F2;
  padding: 8px 12px;
  color: var(--dl-text);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  user-select: all;
}

@media (max-width: 899px), (hover: none) and (pointer: coarse) {
  #desktop-landing { display: none !important; }
}

#landscape-overlay {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--dl-bg);
  color: var(--dl-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
#landscape-overlay[hidden] { display: none; }
.lo-content { max-width: 360px; text-align: center; }
.lo-icon {
  width: 72px;
  height: 72px;
  color: var(--dl-accent);
  margin-bottom: 18px;
  animation: lo-rotate 2.4s ease-in-out infinite;
}
@keyframes lo-rotate {
  0%, 100% { transform: rotate(0deg); }
  45%, 55% { transform: rotate(-90deg); }
}
.lo-title { margin: 0 0 6px; font-size: 22px; font-weight: 950; }
.lo-subtitle { margin: 0; color: var(--dl-text-muted); font-size: 14px; line-height: 1.5; }
