:root {
  --dl-accent: #e84b47;
  --dl-accent-2: #ff7a6e;
  --dl-bg: #101010;
  --dl-text: #f4f4f4;
  --dl-text-muted: #b8b8b8;
}

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

html,
body {
  width: 100%;
  min-height: 100%;
  background: var(--dl-bg);
}

#desktop-landing {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 36px;
  background: var(--dl-bg);
  color: var(--dl-text);
  font-family: Inter, system-ui, sans-serif;
}

#desktop-landing[hidden] { display: none; }

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

.dl-content {
  width: min(100%, 420px);
  display: grid;
  justify-items: center;
  gap: 18px;
}

.dl-logo {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
}

.dl-title { display: none; }

.dl-subtitle {
  margin: 0;
  color: var(--dl-text-muted);
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

.dl-qr-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.dl-qr {
  padding: 14px;
  border-radius: 8px;
  background: #ffffff;
  line-height: 0;
}

.dl-qr img,
.dl-qr canvas {
  display: block;
  width: 208px;
  height: 208px;
  image-rendering: pixelated;
}

.dl-instruction {
  margin: 0;
  color: var(--dl-text-muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.dl-url {
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--dl-text);
  padding: 9px 12px;
  font-family: "SF Mono", Menlo, monospace;
  font-size: 13px;
  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, #101010);
  color: var(--dl-text, #f4f4f4);
  font-family: Inter, system-ui, sans-serif;
}

#landscape-overlay[hidden] { display: none; }

.lo-content {
  max-width: 360px;
  text-align: center;
}

.lo-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  color: var(--dl-accent-2, #ff7a6e);
}

.lo-title {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.lo-subtitle {
  margin: 0;
  color: var(--dl-text-muted, #b8b8b8);
  font-size: 14px;
  line-height: 1.5;
}
