#orphusp {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  width: 90%;
  background: #282c34;
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.6) 0 8px 30px;
  font-family: "HelveticaNeueCyr", "Montserrat", sans-serif;
  padding: 25px;
  z-index: 9999;
  text-align: left;
  color: #abb2bf;
}

#orphusp .logo {
  display: block;
  font-family: montserrat-extrabold, sans-serif;
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-decoration: none;
}

#orphusp .legend {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
}

#orphusp .fragment {
  background: #3e4451;
  border-left: 4px solid #4149F2;
  padding: 10px 12px;
  margin-bottom: 15px;
  font-family: monospace;
  white-space: pre-wrap;
  border-radius: 6px;
  color: #fff;
}

#orphusp .hint {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 12px;
}

#orphusp .comment {
  font-size: 14px;
  margin-bottom: 6px;
  color: #ccc;
}

#orphusp input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #555;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  background: #1e2127;
  color: #fff;
  transition: box-shadow 0.2s, border 0.2s;
}

#orphusp input[type="text"]:focus {
  border-color: #4149F2;
  box-shadow: 0 0 0 2px rgba(65, 73, 242, 0.5);
}

#orphusp .buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

#orphusp input[type="submit"],
#orphusp input[type="button"] {
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  font-family: montserrat-extrabold, sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

#orphusp input[type="submit"] {
  background: #FFD800;
  color: #333;
}

#orphusp input[type="submit"]:hover {
  background: #FCEE21;
  box-shadow: rgba(0, 0, 0, 0.3) 0 4px 10px;
  transform: translateY(-2px);
}

#orphusp input[type="submit"]:active {
  background: #fff;
  color: #000;
  box-shadow: rgba(0, 0, 0, 0.2) 0 2px 5px;
  transform: translateY(0);
}

#orphusp input[type="button"] {
  background: #444;
  color: #ddd;
}

#orphusp input[type="button"]:hover {
  background: #555;
}

#orphusp input[type="button"]:active {
  background: #666;
}

#orphusSelHint {
  position: absolute;
  z-index: 10050;
  display: none;
  padding: 6px 10px;
  background: rgba(40, 44, 52, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  user-select: none;
  white-space: nowrap;
}

#orphusSelHint::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -11px;
  bottom: auto;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(40, 44, 52, 0.98);
}

#orphusSelHint button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;

  font-family: "HelveticaNeueCyr", "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

#orphusSelHint button:hover { opacity: 0.9; }
#orphusSelHint button:active { opacity: 0.8; }
