



























.help-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px;
  padding: 7px 14px;
  background: var(--s1);
  border: 1px solid var(--brd-soft);
  color: var(--txt2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.help-btn:hover {
  background: var(--s2);
  border-color: var(--brd);
  color: var(--txt);
  transform: translateY(-1px);
}
.help-btn svg { flex-shrink: 0; }

.ph {
  position: relative;
}

 
.help-back {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 9000;
}
.help-back.open { opacity: 1; visibility: visible; }

.help-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, calc(-50% + 16px));
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  background: var(--grad-card);
  border: 1px solid var(--brd2);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  z-index: 9001;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0.25s;
}
.help-modal.open {
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
}

.help-head {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--brd);
}
.help-ic {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--grad-soft);
  border: 1px solid var(--brd2);
  display: flex; align-items: center; justify-content: center;
  color: var(--acc2);
  flex-shrink: 0;
}
.help-head h3 {
  flex: 1;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0;
}
.help-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--surf);
  border: 1px solid var(--brd);
  color: var(--txt2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}
.help-close:hover {
  background: var(--surf2);
  color: var(--txt);
}

.help-body {
  padding: 22px 26px 26px;
  overflow-y: auto;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--txt2);
}
.help-body p { margin-bottom: 12px; color: var(--txt2); }
.help-body p strong { color: var(--txt); }
.help-body ul, .help-body ol {
  margin: 8px 0 14px;
  padding-left: 22px;
}
.help-body li {
  margin-bottom: 8px;
  color: var(--txt2);
}
.help-body li strong { color: var(--txt); font-weight: 700; }
.help-body a {
  color: var(--acc2);
  text-decoration: underline;
  

  text-decoration-color: rgba(var(--acc-rgb), 0.45);
}
.help-body a:hover { color: var(--acc3); text-decoration-color: var(--acc); }
.help-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  background: rgba(var(--acc-rgb), 0.10);
  color: var(--acc2);
  padding: 2px 7px;
  border-radius: 5px;
}
.help-body em { font-style: normal; font-weight: 700; color: var(--cyn2); }

 
@media (max-width: 600px) {
  .help-modal {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 24px);
    border-radius: 18px;
  }
  .help-head { padding: 18px 18px 14px; }
  .help-body { padding: 18px; font-size: 0.9rem; }
  .help-head h3 { font-size: 1.05rem; }
}





