/* Shared: desktop-only pages on mobile (node-guide, generate-token, terms, privacy) */

.mobile-desktop-only {
  display: none !important;
}

@media (max-width: 960px) {
  html, body {
    background: #000 !important;
    overflow: hidden !important;
    height: 100%;
    max-width: 100vw;
  }

  /* Hide gated desktop chrome/content; show mobile notice only */
  body > *:not(.mobile-desktop-only) {
    display: none !important;
  }

  .mobile-desktop-only {
    display: flex !important;
    flex-direction: column;
    min-height: 100dvh;
    width: 100%;
    max-width: 100vw;
    background: #000;
    overflow: hidden;
    position: fixed;
    inset: 0;
    z-index: 99999;
  }

  .mdo-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 14px;
    box-sizing: border-box;
    background: #000;
    border-bottom: 1px solid rgba(0, 212, 232, 0.18);
    flex-shrink: 0;
  }

  .mdo-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .mdo-logo img {
    height: 16px;
    width: auto;
    display: block;
  }

  .mdo-base {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #00d4e8;
    border: 1px solid rgba(0, 212, 232, 0.35);
    background: rgba(0, 212, 232, 0.08);
    border-radius: 999px;
    padding: 4px 12px;
    white-space: nowrap;
  }

  .mdo-base-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00d4e8;
    flex-shrink: 0;
    animation: mdoPulse 1.8s ease-in-out infinite;
  }

  @keyframes mdoPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
  }

  .mdo-message {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.75rem;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: #fff;
    box-sizing: border-box;
  }

  .mdo-footer {
    flex-shrink: 0;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-top: 1px solid #1e3050;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    color: #5a7a94;
    line-height: 1;
  }
}
