.app-guide-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 62, 80, 0.75);
  backdrop-filter: blur(10px);
  z-index: 10000;
}

.app-guide-modal {
  width: min(860px, 92vw);
  max-height: 86vh;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
  box-shadow: 0 24px 80px rgba(44, 62, 80, 0.32);
  border: 1px solid rgba(180, 239, 78, 0.16);
  position: relative;
}

.app-guide-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #B4EF4E 0%, #FF39D2 50%, #1A66FF 100%);
}

.app-guide-header {
  padding: 24px 28px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(180, 239, 78, 0.14);
  background: linear-gradient(135deg, rgba(248, 255, 254, 0.85) 0%, rgba(232, 248, 245, 0.65) 100%);
}

.app-guide-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-guide-title::before {
  content: '📱';
  font-size: 24px;
}

.app-guide-close {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 249, 250, 0.82) 100%);
  border: 1px solid rgba(180, 239, 78, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: #6c757d;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.app-guide-close:hover {
  background: linear-gradient(135deg, #FF39D2 0%, #E625B8 100%);
  color: #ffffff;
  border-color: transparent;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 10px 26px rgba(255, 57, 210, 0.22);
}

.app-guide-body {
  padding: 18px 28px 28px;
  overflow: auto;
  max-height: calc(86vh - 70px);
}

.app-guide-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.app-guide-tab {
  border: 1px solid rgba(26, 102, 255, 0.18);
  background: rgba(255, 255, 255, 0.78);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  color: #2c3e50;
  transition: all 0.2s ease;
}

.app-guide-tab[aria-selected="true"] {
  background: linear-gradient(135deg, rgba(26, 102, 255, 0.12) 0%, rgba(180, 239, 78, 0.18) 100%);
  border-color: rgba(180, 239, 78, 0.32);
}

.app-guide-tab:focus-visible,
.app-guide-close:focus-visible {
  outline: 3px solid rgba(26, 102, 255, 0.35);
  outline-offset: 3px;
}

.app-guide-panel {
  display: none;
}

.app-guide-panel.is-active {
  display: block;
}

.app-guide-card {
  background: linear-gradient(135deg, rgba(180, 239, 78, 0.08) 0%, rgba(232, 248, 245, 0.12) 100%);
  border: 1px solid rgba(180, 239, 78, 0.18);
  border-radius: 18px;
  padding: 18px;
}

.app-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 18px;
  align-items: center;
}

.app-guide-qr {
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(26, 102, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  display: block;
}

.app-guide-copy h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  color: #2c3e50;
}

.app-guide-copy p {
  margin: 0;
  font-size: 15px;
  color: #5a6c7d;
  line-height: 1.75;
}

.app-guide-list {
  margin: 0;
  padding-left: 18px;
  color: #2c3e50;
}

.app-guide-list li {
  margin: 10px 0;
  color: #2c3e50;
  line-height: 1.7;
  font-size: 15px;
}

.app-guide-subtle {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(90, 108, 125, 0.9);
}

body.app-guide-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .app-guide-body {
    padding: 16px 18px 22px;
  }

  .app-guide-header {
    padding: 20px 18px 14px;
  }

  .app-guide-grid {
    grid-template-columns: 1fr;
  }

  .app-guide-qr {
    margin: 0 auto;
  }
}

